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
This commit is contained in:
Carsten Haitzler 2019-08-05 15:02:45 +01:00
parent 4664d02fe2
commit 7c72f10153
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}