From 7bada628b9af036255f7ee0aebb32029c8352bae Mon Sep 17 00:00:00 2001 From: Johan Bilien Date: Wed, 12 Nov 2008 12:12:04 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20560474=20=E2=80=93=20g-ir-compiler=20cras?= =?UTF-8?q?hes=20when=20compiling=20the=20glib=20gir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-11-12 Johan Bilien Bug 560474 – g-ir-compiler crashes when compiling the glib gir * girepository/girparser.c: avoid freeing an uninitialized pointer svn path=/trunk/; revision=891 --- girparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/girparser.c b/girparser.c index 850833f37..38daaa70b 100644 --- a/girparser.c +++ b/girparser.c @@ -479,7 +479,7 @@ resolve_aliases (ParseContext *ctx, const gchar *type) gpointer value; GSList *seen_values = NULL; const char *lookup; - char *prefixed; + char *prefixed = NULL; /* If we are in an included module, then we need to qualify the * names of types before resolving them, since they will have