aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_test_lib.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-02-07 15:06:16 +0000
committerBart Polot <bart@net.in.tum.de>2013-02-07 15:06:16 +0000
commit55ccae4842f05afd041d4775288aae344e15f547 (patch)
tree3ba3cb76894897d14b257e13e07fa06df6e942fc /src/regex/regex_test_lib.c
parent096e2a701f18dfe0d6687332fd4ec960d613909e (diff)
- fix
Diffstat (limited to 'src/regex/regex_test_lib.c')
-rw-r--r--src/regex/regex_test_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c
index 88a76fa27c..d344603a1e 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)
next = p->next;
regex_ctx_destroy (p);
}
- GNUNET_free (ctx->s);
+ GNUNET_free_non_null (ctx->s); /* 's' on root node is null */
GNUNET_free (ctx);
}