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 committed by Matthias Schiffer
parent 121609b3f8
commit 0c2a52c19f
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

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;
} }