[gnome-keyring/trust-store] [egg] Fix uninitialized list pointers.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/trust-store] [egg] Fix uninitialized list pointers.
- Date: Wed, 22 Dec 2010 16:02:16 +0000 (UTC)
commit 25ff96c134937f0fa08c73334346c0709c94180e
Author: Stef Walter <stefw collabora co uk>
Date: Wed Dec 22 15:22:09 2010 +0000
[egg] Fix uninitialized list pointers.
egg/egg-asn1x.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c
index 23a23f0..ba0a398 100644
--- a/egg/egg-asn1x.c
+++ b/egg/egg-asn1x.c
@@ -3578,6 +3578,7 @@ traverse_and_prepare (GNode *node, gpointer data)
g_node_append (node, child);
}
g_list_free (list);
+ list = NULL;
}
/* Lookup the max set size */
@@ -3625,6 +3626,7 @@ traverse_and_prepare (GNode *node, gpointer data)
for (l = list; l; l = g_list_next (l))
g_node_append (node, l->data);
g_list_free (list);
+ list = NULL;
}
/* Continue traversal */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]