Fix memory leak in encoding-guesser-test
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 28 Jul 2012 08:33:44 +0000 (10:33 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 28 Jul 2012 08:33:44 +0000 (10:33 +0200)
tests/libpspp/encoding-guesser-test.c

index a20607e10bf9b51bc179146402249af56dfc17df..36c361ee1af792aadc76344d12e1272dbb6cdca2 100644 (file)
@@ -97,6 +97,7 @@ main (int argc, char *argv[])
           }
       }
   puts (guess);
+  free (buffer);
 
   return 0;
 }