Code

src/utils_threshold.c: Free allocated memory before returning..
authorPeter Holik <holik@it-technology.at>
Tue, 12 Aug 2008 09:04:27 +0000 (11:04 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 12 Aug 2008 09:04:27 +0000 (11:04 +0200)
..in an error condition.

src/utils_threshold.c

index 778b40bbeb9b5f8b8c3ea7904b2b8d97f2e58b8a..7676a5a1152d7fda74d9d9db71930b8432ae9878 100644 (file)
@@ -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);
   }