1
This patch fixes a double-free that the 1.2.12.06 memleak patch
2
accidently introduced. This is a non-critical double-free; it will
3
actually never be triggered because the underlying js_alloc() (called by
4
js_create()) will terminate MaraDNS should she be unable to
7
--- maradns-1.3.06/server/MaraDNS.c.orig 2007-06-10 10:34:42.000000000 -0500
8
+++ maradns-1.3.06/server/MaraDNS.c 2007-06-10 10:35:13.000000000 -0500
12
if((origq = js_create(256,1)) == 0) {
13
- js_destroy(lookfor);
14
udperror(sock,raw,0,0,SERVER_FAIL,"can't create origq string",2,
15
desires_recursion,ect,1);