glib-compile-schemas: fix small leak

This commit is contained in:
Ryan Lortie 2010-06-29 14:40:44 -04:00
parent 6d4ade4cf0
commit 101bfec676

View File

@ -903,7 +903,7 @@ start_element (GMarkupParseContext *context,
const gchar *id, *path, *gettext_domain; const gchar *id, *path, *gettext_domain;
if (COLLECT (STRING, "id", &id, if (COLLECT (STRING, "id", &id,
OPTIONAL | STRING, "path", &path, OPTIONAL | STRING, "path", &path,
OPTIONAL | STRDUP, "gettext-domain", &gettext_domain)) OPTIONAL | STRING, "gettext-domain", &gettext_domain))
parse_state_start_schema (state, id, path, gettext_domain, error); parse_state_start_schema (state, id, path, gettext_domain, error);
return; return;
} }