raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7c72f101532d61b00cd483b89ef86830526a82ba

commit 7c72f101532d61b00cd483b89ef86830526a82ba
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Aug 5 15:02:45 2019 +0100

    ethumb - fix error free of static string as stringshare
    
    in one case we try stringshare_del a static string, not stringshared,
    so fix by always making it a stringshare
    
    fix CID 1402614
---
 src/lib/ethumb/ethumb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index 8a14385662..00edfd5bed 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -1046,7 +1046,7 @@ _ethumb_file_generate_path(Ethumb *e)
           {
              ERR("fdo_format but size %d is not NORMAL (%d) or LARGE (%d)?",
                  e->tw, THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE);
-             category = "unknown";
+             category = eina_stringshare_add("unknown");
           }
      }
 

-- 


Reply via email to