Fix free of NULL.

This commit is contained in:
Michael Drake 2012-07-23 11:27:42 +01:00
parent 957f9dc7c8
commit 6bbe68823c

View File

@ -250,7 +250,7 @@ out:
dom_string_unref(ds_value);
if (ds_name != NULL)
dom_string_unref(ds_name);
if (type == NULL)
if (type != NULL)
free(type);
return control;