mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-04 22:34:47 +00:00
Merge pull request #6859 from mjstapp/fix_dplane_sa_again
zebra: fix coverity SA warning in dataplane
This commit is contained in:
commit
3a2bc867f8
@ -2542,8 +2542,8 @@ dplane_route_notif_update(struct route_node *rn,
|
||||
done:
|
||||
if (ret == AOK)
|
||||
result = ZEBRA_DPLANE_REQUEST_QUEUED;
|
||||
else if (ctx)
|
||||
dplane_ctx_free(&ctx);
|
||||
else if (new_ctx)
|
||||
dplane_ctx_free(&new_ctx);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user