From: Johan Bilien Date: Wed, 12 Nov 2008 12:12:04 +0000 (+0000) Subject: Bug 560474 – g-ir-compiler crashes when compiling the glib gir X-Git-Tag: GOBJECT_INTROSPECTION_0_6_1~80 X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=843b6c38b41bc6a9ecce2a2b0e8c0f0c4cd55689;p=gnome.gobject-introspection Bug 560474 – g-ir-compiler crashes when compiling the glib gir 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 --- diff --git a/ChangeLog b/ChangeLog index acc3b98..d96f47a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-12 Johan Bilien + + Bug 560474 – g-ir-compiler crashes when compiling the glib gir + + * girepository/girparser.c: avoid freeing an uninitialized pointer + 2008-11-12 Johan Dahlin * gir/Makefile.am: diff --git a/girepository/girparser.c b/girepository/girparser.c index 850833f..38daaa7 100644 --- a/girepository/girparser.c +++ b/girepository/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