barbieri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=966c51460bfcdbcec23ff80ad1d3758e2b89b3ae
commit 966c51460bfcdbcec23ff80ad1d3758e2b89b3ae Author: Gustavo Sverzut Barbieri <[email protected]> Date: Thu Dec 1 15:38:40 2016 -0200 eeze_scanner_monitor: fix error handling. dialer would be uninitialized if we fail to create a path, so use a new label to handle that. Fixes CID 1366471. --- src/bin/eeze/eeze_scanner_monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/eeze/eeze_scanner_monitor.c b/src/bin/eeze/eeze_scanner_monitor.c index 9985015..afed23c 100644 --- a/src/bin/eeze/eeze_scanner_monitor.c +++ b/src/bin/eeze/eeze_scanner_monitor.c @@ -152,7 +152,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED) { fprintf(stderr, "ERROR: could not get local communication path\n"); retval = EXIT_FAILURE; - goto end; + goto error_path; } loop = ecore_main_loop_get(); @@ -207,7 +207,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED) free(path); path = NULL; - + error_path: eet_data_descriptor_free(edd); edd = NULL; --
