summaryrefslogtreecommitdiff
path: root/src/lib/ethumb
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-05 15:02:45 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-05 15:02:45 +0100
commit7c72f101532d61b00cd483b89ef86830526a82ba (patch)
tree6e3889aae1a8adbda82a565644a1a549015a3853 /src/lib/ethumb
parent4664d02fe2be11babf729e829d67162e0ef7dcb8 (diff)
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
Diffstat (limited to 'src/lib/ethumb')
-rw-r--r--src/lib/ethumb/ethumb.c2
1 files changed, 1 insertions, 1 deletions
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)
1046 { 1046 {
1047 ERR("fdo_format but size %d is not NORMAL (%d) or LARGE (%d)?", 1047 ERR("fdo_format but size %d is not NORMAL (%d) or LARGE (%d)?",
1048 e->tw, THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE); 1048 e->tw, THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE);
1049 category = "unknown"; 1049 category = eina_stringshare_add("unknown");
1050 } 1050 }
1051 } 1051 }
1052 1052