From: Ryan Lortie Date: Tue, 29 Jun 2010 18:40:44 +0000 (-0400) Subject: glib-compile-schemas: fix small leak X-Git-Tag: 2.25.11~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=101bfec676feb2c3d414fff11a31541318d87896;p=platform%2Fupstream%2Fglib.git glib-compile-schemas: fix small leak --- diff --git a/gio/gschema-compile.c b/gio/gschema-compile.c index a6d28dd..3ec2621 100644 --- a/gio/gschema-compile.c +++ b/gio/gschema-compile.c @@ -903,7 +903,7 @@ start_element (GMarkupParseContext *context, const gchar *id, *path, *gettext_domain; if (COLLECT (STRING, "id", &id, 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); return; }