summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2014-04-21 12:52:14 +0000
committerokan <okan>2014-04-21 12:52:14 +0000
commite9cb5b743f06baea2d0c469a11bdbe0224c15881 (patch)
treecfd8ba4fd006eb5b7927079a58f0a2bfa042a33b /conf.c
parentd46b0f88489ca0bdc6ec7825cd1a71f97d68cb28 (diff)
downloadcwm-e9cb5b743f06baea2d0c469a11bdbe0224c15881.tar.gz
cwm-e9cb5b743f06baea2d0c469a11bdbe0224c15881.tar.xz
cwm-e9cb5b743f06baea2d0c469a11bdbe0224c15881.zip
plug memleak (currently unused func); from Tiago Cunha
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 2177930..8a2854c 100644
--- a/conf.c
+++ b/conf.c
@@ -309,6 +309,7 @@ conf_clear(struct conf *c)
 
 	while ((wn = TAILQ_FIRST(&c->ignoreq)) != NULL) {
 		TAILQ_REMOVE(&c->ignoreq, wn, entry);
+		free(wn->name);
 		free(wn);
 	}