libgluonutil: fix double free of domain_code when domain is not existing

This commit is contained in:
lemoer 2020-05-16 14:09:05 +02:00
parent 55c51f2a73
commit 3c1f62ffca

View File

@ -243,6 +243,5 @@ struct json_object * gluonutil_load_site_config(void) {
err: err:
json_object_put(site); json_object_put(site);
free(domain_code);
return NULL; return NULL;
} }