summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ini/ini_comment.c1
1 files changed, 1 insertions, 0 deletions
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;
}