summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_slaves.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-01-13 11:58:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-01-14 14:23:04 +0900
commit00417fe25636dc5f33b329b2f82d7d95e584e803 (patch)
tree66b1b09ac0ca488ae1041312d61c90f8787e2671 /src/bin/evas/evas_cserve2_slaves.c
parentf1aa32a4a45cdce9994d0c8bbcf1c0860f892657 (diff)
Evas/cserve2: Fix memleak during shutdown
Don't reset the dead slave callback, as it is used to free the slave worker's resources.
Diffstat (limited to 'src/bin/evas/evas_cserve2_slaves.c')
-rw-r--r--src/bin/evas/evas_cserve2_slaves.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/evas/evas_cserve2_slaves.c b/src/bin/evas/evas_cserve2_slaves.c
index 82f3e2b6d5..b2d7588c26 100644
--- a/src/bin/evas/evas_cserve2_slaves.c
+++ b/src/bin/evas/evas_cserve2_slaves.c
@@ -308,9 +308,6 @@ cserve2_slaves_shutdown(void)
308 308
309 EINA_LIST_FREE(slave_procs, sp) 309 EINA_LIST_FREE(slave_procs, sp)
310 { 310 {
311 Slave *s = (Slave*) sp;
312
313 s->dead_cb = NULL;
314 kill(sp->pid, SIGKILL); 311 kill(sp->pid, SIGKILL);
315 _slave_proc_free(sp); 312 _slave_proc_free(sp);
316 } 313 }