libgluonutil: fix double free of domain_code when domain is not existing
This commit is contained in:
parent
121609b3f8
commit
0c2a52c19f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user