mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
mgmtd: fix memleak
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
771c8f3b2a
commit
b92ad5046e
@ -2138,6 +2138,7 @@ int mgmt_txn_notify_be_adapter_conn(struct mgmt_be_client_adapter *adapter,
|
||||
if (!txn) {
|
||||
MGMTD_TXN_ERR("Failed to create CONFIG Transaction for downloading CONFIGs for client '%s'",
|
||||
adapter->name);
|
||||
nb_config_diff_del_changes(adapter_cfgs);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user