From: John Darrington Date: Sat, 28 Jul 2012 11:13:08 +0000 (+0200) Subject: Fix leak in u8-istream-test.c X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5be84813a27e8a6e69c5009384d81547dc6201b;p=pspp Fix leak in u8-istream-test.c --- diff --git a/tests/libpspp/u8-istream-test.c b/tests/libpspp/u8-istream-test.c index ab1b717eeb..0a16798b0d 100644 --- a/tests/libpspp/u8-istream-test.c +++ b/tests/libpspp/u8-istream-test.c @@ -89,6 +89,7 @@ cmd_read (int argc, char *argv[]) else break; } + free (buffer); if (u8_istream_is_auto (is)) printf ("Auto mode\n");