From a4e6ea3348d599afce2ac0894ceaac58363abbab Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 14 Oct 2014 17:46:07 -0400 Subject: [PATCH] add call to delete fd handler when we close the compositor Signed-off-by: Chris Michael --- src/bin/e_comp_wl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index c88279252..f1f764e09 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -232,6 +232,9 @@ _e_comp_wl_compositor_cb_del(E_Comp *comp) /* get existing compositor data */ if (!(cdata = comp->wl_comp_data)) return; + /* delete fd handler */ + if (cdata->fd_hdlr) ecore_main_fd_handler_del(cdata->fd_hdlr); + /* free allocated data structure */ free(cdata); }