mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[master] fix memory leak in notify test
This commit is contained in:
parent
7fb611d331
commit
de1591889a
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,9 @@ ATF_TC_BODY(notify_start, tc) {
|
|||
* handler.
|
||||
*/
|
||||
dns_view_attach(view, &client->view);
|
||||
if (client->message != NULL) {
|
||||
dns_message_destroy(&client->message);
|
||||
}
|
||||
client->message = nmsg;
|
||||
nmsg = NULL;
|
||||
client->sendcb = check_response;
|
||||
|
|
|
|||
Loading…
Reference in a new issue