forked from enlightenment/efl
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:
parent
b832f70eb5
commit
dbb0e83051
|
@ -1048,7 +1048,7 @@ _ethumb_file_generate_path(Ethumb *e)
|
||||||
{
|
{
|
||||||
ERR("fdo_format but size %d is not NORMAL (%d) or LARGE (%d)?",
|
ERR("fdo_format but size %d is not NORMAL (%d) or LARGE (%d)?",
|
||||||
e->tw, THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE);
|
e->tw, THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE);
|
||||||
category = "unknown";
|
category = eina_stringshare_add("unknown");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue