From: John Darrington Date: Sat, 28 Jul 2012 07:52:46 +0000 (+0200) Subject: Fix memory leak in format-guesser-test.c X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fee80becb97ba397876d1917dcac04904f16630;p=pspp Fix memory leak in format-guesser-test.c --- diff --git a/src/language/tests/format-guesser-test.c b/src/language/tests/format-guesser-test.c index cd7ca52475..0900ebd817 100644 --- a/src/language/tests/format-guesser-test.c +++ b/src/language/tests/format-guesser-test.c @@ -52,6 +52,7 @@ cmd_debug_format_guesser (struct lexer *lexer, struct dataset *ds UNUSED) } msg_enable (); putc ('\n', stderr); + fmt_guesser_destroy (g); return CMD_SUCCESS; }