[glib] glib-compile-schemas: fix small leak



commit 101bfec676feb2c3d414fff11a31541318d87896
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Jun 29 14:40:44 2010 -0400

    glib-compile-schemas: fix small leak

 gio/gschema-compile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]