mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04:00
fix another memory leak
svn:r424
This commit is contained in:
parent
7c66bf33e1
commit
fc1211ed8a
2
evdns.c
2
evdns.c
@ -1713,7 +1713,7 @@ server_request_free_answers(struct server_request *req)
|
|||||||
free(victim->name);
|
free(victim->name);
|
||||||
if (victim->data)
|
if (victim->data)
|
||||||
free(victim->data);
|
free(victim->data);
|
||||||
/* XXXX free(victim?) -NM */
|
free(victim);
|
||||||
victim = next;
|
victim = next;
|
||||||
}
|
}
|
||||||
*list = NULL;
|
*list = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user