mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 21:20:48 +00:00
pathd: Ensure path is free'd after we no longer need it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
43a8e0ac88
commit
241b791e83
@ -1326,9 +1326,9 @@ void handle_pcep_lsp_initiate(struct ctrl_state *ctrl_state,
|
||||
* possibly disconnect and blacklist */
|
||||
flog_warn(EC_PATH_PCEP_UNSUPPORTED_PCEP_FEATURE,
|
||||
"Unsupported PCEP protocol feature: %s", err);
|
||||
pcep_free_path(path);
|
||||
send_pcep_error(pcc_state, PCEP_ERRT_INVALID_OPERATION,
|
||||
PCEP_ERRV_LSP_NOT_PCE_INITIATED, path);
|
||||
pcep_free_path(path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user