From 101bfec676feb2c3d414fff11a31541318d87896 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Tue, 29 Jun 2010 14:40:44 -0400 Subject: [PATCH] glib-compile-schemas: fix small leak --- gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4