fix a memory lose
authorMazet Laurent <mazet@softndesign.org>
Wed, 19 Jun 2024 05:45:56 +0000 (07:45 +0200)
committerMazet Laurent <mazet@softndesign.org>
Wed, 19 Jun 2024 05:45:56 +0000 (07:45 +0200)
scrabble.c

index c98a90f2d19f81b10b79672b232f0f877649a12f..eec05c975bbdb5571e099d1165c32c68dc8b889d 100644 (file)
@@ -253,6 +253,7 @@ int main (int argc, char *argv[])
             VERBOSE (ERROR, fprintf (stderr, "can't read file (%s)\n", file));
             return 1;
         }
+        free (buffer);
     }
 
     int i;