From e50cd28603074a73c3f5d39613fd06b8d79191f9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 4 Dec 2021 23:46:17 +0000 Subject: bugfix: alloc_free correct value *All* my memory bugs come from places where I'm not using stralloc. That should give a hint to every C programmer out there. Really. Signed-off-by: Laurent Bercot --- src/skadns/skadns_end.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/skadns/skadns_end.c b/src/skadns/skadns_end.c index 60ae9c9..afcab58 100644 --- a/src/skadns/skadns_end.c +++ b/src/skadns/skadns_end.c @@ -10,7 +10,7 @@ static int skadnsanswer_free (char *p, void *stuff) { skadnsanswer_t *q = (skadnsanswer_t_ref)p ; - alloc_free(&q->data) ; + alloc_free(q->data) ; (void)stuff ; return 1 ; } -- cgit v1.2.3