Bug 560474 – g-ir-compiler crashes when compiling the glib gir
authorJohan Bilien <jobi@via.ecp.fr>
Wed, 12 Nov 2008 12:12:04 +0000 (12:12 +0000)
committerJohan Bilien <jobi@src.gnome.org>
Wed, 12 Nov 2008 12:12:04 +0000 (12:12 +0000)
2008-11-12  Johan Bilien  <jobi@via.ecp.fr>

Bug 560474 – g-ir-compiler crashes when compiling the glib gir

* girepository/girparser.c: avoid freeing an uninitialized pointer

svn path=/trunk/; revision=891

ChangeLog
girepository/girparser.c

index acc3b98..d96f47a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-12  Johan Bilien  <jobi@via.ecp.fr>
+
+       Bug 560474 – g-ir-compiler crashes when compiling the glib gir
+
+       * girepository/girparser.c: avoid freeing an uninitialized pointer
+
 2008-11-12  Johan Dahlin  <jdahlin@async.com.br>
 
        * gir/Makefile.am:
index 850833f..38daaa7 100644 (file)
@@ -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