aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_test_lib.c
diff options
context:
space:
mode:
authorbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-02-07 15:06:16 +0000
committerbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-02-07 15:06:16 +0000
commitb7ef94eaabe5dff4b5255667ec98a4471284a632 (patch)
tree3ba3cb76894897d14b257e13e07fa06df6e942fc /src/regex/regex_test_lib.c
parentc3c4ff4e26e87d0507831311de150af728c980be (diff)
- fix
git-svn-id: https://gnunet.org/svn/gnunet@26050 140774ce-b5e7-0310-ab8b-a85725594a96
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);
}