From 707eccb851181afe8135831cc8677fd4ac2b4c56 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 15 Sep 2013 21:35:28 +0000 Subject: [PATCH] Fix 2 buffers leaking even if we exist just afterwards (coverity) --- tools/sortchars.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sortchars.c b/tools/sortchars.c index 8ce064f..4760941 100644 --- a/tools/sortchars.c +++ b/tools/sortchars.c @@ -259,5 +259,7 @@ static void testcircle(void) printf("\n"); } printf("*/\n"); + free(buf); + free(dst); }