diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-13 13:08:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-13 13:08:28 +0000 |
commit | 9a8ea460352e26819f3de1b8a4185b3c63d9444c (patch) | |
tree | 542c1d4ca7bcab0a241c60ec86edce684ce88c12 /src/util/common_logging.c | |
parent | 5a9080e410390adb152263261842ce2f6da347b5 (diff) | |
download | gnunet-9a8ea460352e26819f3de1b8a4185b3c63d9444c.tar.gz gnunet-9a8ea460352e26819f3de1b8a4185b3c63d9444c.zip |
-use GNUNET_free instead of free
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) | |||
456 | from_line = strtol (start, &t, 10); | 456 | from_line = strtol (start, &t, 10); |
457 | if (errno != 0 || from_line < 0) | 457 | if (errno != 0 || from_line < 0) |
458 | { | 458 | { |
459 | free (def); | 459 | GNUNET_free (def); |
460 | return counter; | 460 | return counter; |
461 | } | 461 | } |
462 | if (t < p && t[0] == '-') | 462 | if (t < p && t[0] == '-') |
@@ -466,7 +466,7 @@ parse_definitions (const char *constname, int force) | |||
466 | to_line = strtol (start, &t, 10); | 466 | to_line = strtol (start, &t, 10); |
467 | if (errno != 0 || to_line < 0 || t != p) | 467 | if (errno != 0 || to_line < 0 || t != p) |
468 | { | 468 | { |
469 | free (def); | 469 | GNUNET_free (def); |
470 | return counter; | 470 | return counter; |
471 | } | 471 | } |
472 | } | 472 | } |
@@ -498,7 +498,7 @@ parse_definitions (const char *constname, int force) | |||
498 | 0 != add_definition (comp, file, function, from_line, to_line, | 498 | 0 != add_definition (comp, file, function, from_line, to_line, |
499 | level, force)) | 499 | level, force)) |
500 | { | 500 | { |
501 | free (def); | 501 | GNUNET_free (def); |
502 | return counter; | 502 | return counter; |
503 | } | 503 | } |
504 | counter += 1; | 504 | counter += 1; |
@@ -511,7 +511,7 @@ parse_definitions (const char *constname, int force) | |||
511 | break; | 511 | break; |
512 | } | 512 | } |
513 | } | 513 | } |
514 | free (def); | 514 | GNUNET_free (def); |
515 | return counter; | 515 | return counter; |
516 | } | 516 | } |
517 | 517 | ||