]> err.no Git - pkg-config/commitdiff
2002-09-09 Havoc Pennington <hp@pobox.com>
authorArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:05:18 +0000 (13:05 +0000)
committerArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:05:18 +0000 (13:05 +0000)
Author: hp
Date: 2002-09-10 02:59:21 GMT
2002-09-09  Havoc Pennington  <hp@pobox.com>

* pkg.c (fill_list_single_package): fix uninitialized variable,
patch from Andrea Suatoni

ChangeLog
pkg.c

index dc3882d732330eac0def17387c4b573aaf660cbd..4a80eb1ac73bf094b8e0a590cfe0e60f64842711 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-09  Havoc Pennington  <hp@pobox.com>
+
+       * pkg.c (fill_list_single_package): fix uninitialized variable,
+       patch from Andrea Suatoni
+
 2002-09-06  Havoc Pennington  <hp@redhat.com>
 
        * parse.c, pkg.c: handle other_libs other_cflags same 
diff --git a/pkg.c b/pkg.c
index 499f320f0affbcc83c803acde97861cf44cff129..3797efb1139f8ca073878484b03adca1a475e474 100644 (file)
--- a/pkg.c
+++ b/pkg.c
@@ -561,6 +561,7 @@ fill_list_single_package (Package *pkg, GetListFunc func,
   GSList *tmp;
 
   /* Get list of packages */
+  packages = NULL;
   packages = g_slist_append (packages, pkg);
   recursive_fill_list (pkg, get_requires, &packages);