From 6610b758a5725b7f523fc99fc1909921d9bb9b55 Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Tue, 4 Jan 2011 15:34:27 -0500 Subject: [INI] Coverity issue 10042 Previous fix was not complete. New scan revealed potential memory leak in case of coding error. Low severity but still a bug... --- ini/ini_comment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ini/ini_comment.c b/ini/ini_comment.c index ea9ff5e..a767a65 100644 --- a/ini/ini_comment.c +++ b/ini/ini_comment.c @@ -433,6 +433,7 @@ static int ini_comment_modify(struct ini_comment *ic, default : TRACE_ERROR_STRING("Coding error", ""); + simplebuffer_free(elem); return EINVAL; } -- cgit