From: Miroslav Lichvar Date: Thu, 10 Nov 2011 15:08:09 +0000 (+0100) Subject: fix memory leak in dialogboxes checklist X-Git-Tag: r0-52-14~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73f1f27f20566db0a7a99f01eaa63547c707befc;p=thirdparty%2Fnewt.git fix memory leak in dialogboxes checklist --- 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;