diff --git a/star.c b/star.c index 791a373..9d28115 100644 --- a/star.c +++ b/star.c @@ -192,5 +192,6 @@ int main( int argc, char* argv[] ) } while( ( ! won_or_not( s ) ) && ( moves[ i ] != '\0' ) ); display_level( s ); + free( s ); return 0; }