[glib] glib-compile-schemas: fix small leak
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] glib-compile-schemas: fix small leak
- Date: Tue, 29 Jun 2010 19:58:42 +0000 (UTC)
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]