summaryrefslogtreecommitdiff
path: root/lib/printf/printf-pos.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-09-25 08:51:06 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-09-25 08:51:06 +0200
commitfc341a97917b7f808ea9f72b7cab9feb3b7e4024 (patch)
tree75b4efcfc132fd0dde8d8d21fef7dd6667d7f678 /lib/printf/printf-pos.c
parent16296beaa5ff0b51e1b9e88848206dcea5cd2a32 (diff)
zebra: fix memory leak
the if_lookup_by_name_per_ns keeps a lock on the node where the searched ifp is stored. Then this node can not be freed even if the ifp is removed from the node. Just add the missing unlock (as for the if_lookup_by_index_per_ns lookup function) Fixes: b8af3fbbafc8 ("zebra: fix detection of interface renames") Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/printf/printf-pos.c')
0 files changed, 0 insertions, 0 deletions