From 111a5eb7b68da0478b16de31dff422a213a03799 Mon Sep 17 00:00:00 2001 From: Peter Holik Date: Tue, 12 Aug 2008 11:04:27 +0200 Subject: [PATCH] src/utils_threshold.c: Free allocated memory before returning.. ..in an error condition. --- src/utils_threshold.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils_threshold.c b/src/utils_threshold.c index 778b40bb..7676a5a1 100644 --- a/src/utils_threshold.c +++ b/src/utils_threshold.c @@ -711,6 +711,7 @@ int ut_check_interesting (const char *name) if (status != 0) { ERROR ("ut_check_interesting: parse_identifier failed."); + sfree (name_copy); return (-1); } -- 2.11.0