From: Christian Grothoff Date: Mon, 13 Feb 2012 13:08:28 +0000 (+0000) Subject: -use GNUNET_free instead of free X-Git-Tag: initial-import-from-subversion-38251~14881 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a8ea460352e26819f3de1b8a4185b3c63d9444c;p=oweals%2Fgnunet.git -use GNUNET_free instead of free --- diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 2fa3f9e24..59de96226 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -456,7 +456,7 @@ parse_definitions (const char *constname, int force) from_line = strtol (start, &t, 10); if (errno != 0 || from_line < 0) { - free (def); + GNUNET_free (def); return counter; } if (t < p && t[0] == '-') @@ -466,7 +466,7 @@ parse_definitions (const char *constname, int force) to_line = strtol (start, &t, 10); if (errno != 0 || to_line < 0 || t != p) { - free (def); + GNUNET_free (def); return counter; } } @@ -498,7 +498,7 @@ parse_definitions (const char *constname, int force) 0 != add_definition (comp, file, function, from_line, to_line, level, force)) { - free (def); + GNUNET_free (def); return counter; } counter += 1; @@ -511,7 +511,7 @@ parse_definitions (const char *constname, int force) break; } } - free (def); + GNUNET_free (def); return counter; } diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 2362b160d..b82813d74 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -471,7 +471,7 @@ GNUNET_OS_check_helper_binary (const char *binary) GNUNET_free (p); p = pf; } - free (binaryexe); + GNUNET_free (binaryexe); #else p = get_path_from_PATH (binary); if (p != NULL)