freemyipod r537 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r536‎ | r537 | r538 >
Date:18:49, 6 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix library list corruption
Modified paths:
  • /emcore/trunk/library.c (modified) (history)

Diff [purge]

Index: emcore/trunk/library.c
@@ -109,7 +109,7 @@
110110 if (library_list_head == h) library_list_head = h->next;
111111 else
112112 for (h = library_list_head; h; h = h->next)
113 - if (h->lib == lib)
 113+ if (h->next->lib == lib)
114114 {
115115 prev = h->next;
116116 h->next = h->next->next;