projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0900b
)
service: fix trigger data memleak
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:15:05 +0000
(21:15 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 May 2014 19:15:05 +0000
(21:15 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
service/service.c
patch
|
blob
|
history
diff --git
a/service/service.c
b/service/service.c
index 23532e88ed92a863f501aa4962935d96c99eef31..8d1217f09f151936acd9592f2df9bec66d98e693 100644
(file)
--- a/
service/service.c
+++ b/
service/service.c
@@
-149,7
+149,6
@@
service_delete(struct service *s)
vlist_flush_all(&s->instances);
avl_delete(&services, &s->avl);
trigger_del(s);
- s->trigger = NULL;
free(s->trigger);
free(s);
service_validate_del(s);