From: John Darrington Date: Sat, 28 Jul 2012 08:33:44 +0000 (+0200) Subject: Fix memory leak in encoding-guesser-test X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c71695976dd41b4c6fc3f1eb814cc4ac0e0398c;p=pspp Fix memory leak in encoding-guesser-test --- diff --git a/tests/libpspp/encoding-guesser-test.c b/tests/libpspp/encoding-guesser-test.c index a20607e10b..36c361ee1a 100644 --- a/tests/libpspp/encoding-guesser-test.c +++ b/tests/libpspp/encoding-guesser-test.c @@ -97,6 +97,7 @@ main (int argc, char *argv[]) } } puts (guess); + free (buffer); return 0; }