From dbb0e8305127028d861f65337f4314711a5f15b1 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 5 Aug 2019 15:02:45 +0100 Subject: [PATCH] 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 b8fa5a4068..00f7e254d3 100644 --- a/src/lib/ethumb/ethumb.c +++ b/src/lib/ethumb/ethumb.c @@ -1048,7 +1048,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"); } }