From 73f1f27f20566db0a7a99f01eaa63547c707befc Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 10 Nov 2011 16:08:09 +0100 Subject: [PATCH] fix memory leak in dialogboxes checklist --- dialogboxes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dialogboxes.c b/dialogboxes.c index c518f16..3e6e6e4 100644 --- a/dialogboxes.c +++ b/dialogboxes.c @@ -521,6 +521,8 @@ int checkList(const char * text, int height, int width, poptContext optCon, } } + free(cbInfo); + free(cbStates); newtFormDestroy(form); return rc; -- 2.47.2