]> git.puffer.fish Git - mirror/frr.git/commit
zebra: dplane_gre_set could return while leaking ctx 13453/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 5 May 2023 23:03:40 +0000 (19:03 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 5 May 2023 23:11:02 +0000 (19:11 -0400)
commit3e7b3ed1dc4dd37120b4bb791790792ac484f5ef
tree09b46319318b9a79b5e62b968ead5974b4f8d2c9
parent6636fc44c8ffa72061abaef710e3e773f41c6e4f
zebra: dplane_gre_set could return while leaking ctx

Prevent this function from leaking the ctx memory.
Also properly record that something has gone wrong.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_dplane.c