diff options
-rw-r--r-- | render/html_forms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/html_forms.c b/render/html_forms.c index 284850dc5..586bda78b 100644 --- a/render/html_forms.c +++ b/render/html_forms.c @@ -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; |