mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
Merge pull request #523 from Shchelk/bugfix
fix: free() call more than once with the same pointer
This commit is contained in:
commit
79df099f4c
@ -495,7 +495,6 @@ int reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc,
|
||||
/* this also performs dname decompression */
|
||||
if(!parse_create_msg(pkt, msg, alloc, qinf, rep, NULL)) {
|
||||
query_info_clear(qinf);
|
||||
reply_info_parsedelete(*rep, alloc);
|
||||
*rep = NULL;
|
||||
return LDNS_RCODE_SERVFAIL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user