fixed memory leaks in restconf evhtp module
This commit is contained in:
parent
6be4b18391
commit
2e23856676
4 changed files with 83 additions and 45 deletions
|
|
@ -118,7 +118,6 @@ restconf_reply_header(void *req0,
|
|||
clicon_err(OE_CFG, errno, "evhttp_header_new");
|
||||
goto done;
|
||||
}
|
||||
value = NULL; /* freed by evhtp */
|
||||
evhtp_headers_add_header(req->headers_out, evhdr);
|
||||
retval = 0;
|
||||
done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue