diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-02-07 15:06:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-02-07 15:06:16 +0000 |
commit | 55ccae4842f05afd041d4775288aae344e15f547 (patch) | |
tree | 3ba3cb76894897d14b257e13e07fa06df6e942fc /src/regex | |
parent | 096e2a701f18dfe0d6687332fd4ec960d613909e (diff) | |
download | gnunet-55ccae4842f05afd041d4775288aae344e15f547.tar.gz gnunet-55ccae4842f05afd041d4775288aae344e15f547.zip |
- fix
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/perf-regex.c | 2 | ||||
-rw-r--r-- | src/regex/regex_test_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/perf-regex.c b/src/regex/perf-regex.c index 241ab0a74..2fa7ca356 100644 --- a/src/regex/perf-regex.c +++ b/src/regex/perf-regex.c | |||
@@ -76,7 +76,7 @@ main (int argc, char *const *argv) | |||
76 | GNUNET_asprintf (®ex, "GNVPN-0001-PAD(%s)(0|1)*", buffer); | 76 | GNUNET_asprintf (®ex, "GNVPN-0001-PAD(%s)(0|1)*", buffer); |
77 | size = strlen (regex); | 77 | size = strlen (regex); |
78 | 78 | ||
79 | // fprintf (stderr, "Combined regex (%ld bytes):\n%s\n", size, regex); | 79 | fprintf (stderr, "Combined regex (%ld bytes):\n%s\n", size, regex); |
80 | // return 0; | 80 | // return 0; |
81 | 81 | ||
82 | compression = atoi (argv[2]); | 82 | compression = atoi (argv[2]); |
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c index 88a76fa27..d344603a1 100644 --- a/src/regex/regex_test_lib.c +++ b/src/regex/regex_test_lib.c | |||
@@ -174,7 +174,7 @@ regex_ctx_destroy (struct RegexCombineCtx *ctx) | |||
174 | next = p->next; | 174 | next = p->next; |
175 | regex_ctx_destroy (p); | 175 | regex_ctx_destroy (p); |
176 | } | 176 | } |
177 | GNUNET_free (ctx->s); | 177 | GNUNET_free_non_null (ctx->s); /* 's' on root node is null */ |
178 | GNUNET_free (ctx); | 178 | GNUNET_free (ctx); |
179 | } | 179 | } |
180 | 180 | ||