diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-12-04 23:46:17 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-12-04 23:46:17 +0000 |
commit | e50cd28603074a73c3f5d39613fd06b8d79191f9 (patch) | |
tree | 7992bf08ee8198655f8cfbb3b2d90efd96ed9f5f /src/skadns | |
parent | b275def9ef46e9d6ff4373b2116dc6bc3bf5c4dc (diff) | |
download | s6-dns-e50cd28603074a73c3f5d39613fd06b8d79191f9.tar.xz |
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 <ska@appnovation.com>
Diffstat (limited to 'src/skadns')
-rw-r--r-- | src/skadns/skadns_end.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ; } |