]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix fd going out of scope leaks the handle
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 22 Sep 2020 12:17:15 +0000 (14:17 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 22 Sep 2020 19:09:13 +0000 (21:09 +0200)
commit7529bf8f05d574ef465c532ba2ca3e07c44ba60d
tree8fe80e6187dbe989a38d03a3f0d69c4e2ef6e667
parente2dcd0c2c5fe2a45a9bcd34a9cdce8a9059e0ec7
zebra: fix fd going out of scope leaks the handle

the file descriptor is closed if it has been locally created.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_netns_id.c