diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-25 12:53:53 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-26 18:34:46 +0100 |
commit | b92ad5046e9dd7c4b335906a0bf3b38a3ff55454 (patch) | |
tree | 62ba1d02d19c8e9ccba5fb57afee2f55cbbb4d8f /mgmtd | |
parent | mgmtd: cleanup txn without scheduling (diff) | |
download | frr-b92ad5046e9dd7c4b335906a0bf3b38a3ff55454.tar.xz frr-b92ad5046e9dd7c4b335906a0bf3b38a3ff55454.zip |
mgmtd: fix memleak
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
-rw-r--r-- | mgmtd/mgmt_txn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c index 9ab476716..45bc3a293 100644 --- a/mgmtd/mgmt_txn.c +++ b/mgmtd/mgmt_txn.c @@ -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; } |