]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix route map description memory leak
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 6 Jul 2020 14:39:27 +0000 (11:39 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 6 Jul 2020 16:14:41 +0000 (13:14 -0300)
commitf0951335830203426074ddca4317f84b477e4afb
tree712655758aaebbaae40c4dd5e60845edd45ed51c
parent4267c07425f7f6d8a554f0c2f7f8d7ba1a0e2208
lib: fix route map description memory leak

Route map entries are not getting a chance to call `description` string
deallocation on shutdown or when the parent entry is destroyed, so lets
add a code to handle this in the `route_map_index_delete` function.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib/routemap.c