raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=65f9b94d2babdca10166d77a3879897825f35865

commit 65f9b94d2babdca10166d77a3879897825f35865
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 00:11:56 2020 +0100

    wp import dialog - fix string leak in error case
    
    fix CID 1425206
---
 src/bin/e_import_config_dialog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_import_config_dialog.c b/src/bin/e_import_config_dialog.c
index 0ffa6d518..32eacd8ab 100644
--- a/src/bin/e_import_config_dialog.c
+++ b/src/bin/e_import_config_dialog.c
@@ -110,6 +110,7 @@ _import_cb_edje_cc_exit(void *data, EINA_UNUSED int type, 
void *event)
         if (!p)
           {
              e_object_del(E_OBJECT(import));
+             free(newfile);
              return ECORE_CALLBACK_DONE;
           }
         // strip out the .tmp. before the name

-- 


Reply via email to