const xmlChar *name;
const tchar *value;
+ if (!property_name || !*property_name)
+ return NULL;
if (tstr_get_utf8(property_name, &name))
return NULL;
value = get_image_property(wim, image, name, NULL);
const xmlChar *name;
int ret;
+ if (!property_name || !*property_name)
+ return WIMLIB_ERR_INVALID_PARAM;
+
ret = tstr_get_utf8(property_name, &name);
if (ret)
return ret;