]> git.proxmox.com Git - mirror_frr.git/commit - lib/workqueue.c
lib: Free workqueue memory leak on free
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 7 Oct 2017 01:40:08 +0000 (21:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 11 Oct 2017 14:00:54 +0000 (10:00 -0400)
commitda7f979a07979a8788f5b2af1aadad361aaeced1
treece829c2af2efc641a670469ee2632e79af4753d0
parentf872bf502d0b3515e4434f298a45d0b8568abdd6
lib: Free workqueue memory leak on free

When free'ing the workqueue if you have items
on the workqueue you should free the memory associated
with it.

Additionally move the work_queue_item_remove function
to allow for static to be awesome

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/workqueue.c