diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:57 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:57 (EST) |
commit | 524db69ff113af70a527823e1699e8eae3400c0b (patch) | |
tree | f3f0154d4648762f39f0e530d15d01746eca9b8a /libopkg | |
parent | e91e75dcb824cdc22799b1eb15395d065b4d9518 (diff) |
opkg: reinitial node of active_list after clear
git-svn-id: http://opkg.googlecode.com/svn/trunk@171 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r-- | libopkg/active_list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopkg/active_list.c b/libopkg/active_list.c index 8544440..2694689 100644 --- a/libopkg/active_list.c +++ b/libopkg/active_list.c @@ -81,8 +81,7 @@ static void list_head_clear (struct list_head *head) { if (next->depend.next != &next->depend) { list_head_clear(&next->depend); } - list_del_init(&next->node); - next->depended = NULL; + active_list_init(next); } } void active_list_clear(struct active_list *head) { |