chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missed a critical bit of the q->prev logic!
[disorder]
/
disobedience
/
playlists.c
diff --git
a/disobedience/playlists.c
b/disobedience/playlists.c
index 3610292c400dbe2f5b1595d4ffb721fb44387eb4..609275eaa1c3bb1470091649afcc55c25325cd76 100644
(file)
--- a/
disobedience/playlists.c
+++ b/
disobedience/playlists.c
@@
-766,7
+766,7
@@
static void playlists_editor_received_tracks(void *v,
/* No such playlist, presumably we'll get a deleted event shortly */
return;
/* Translate the list of tracks into queue entries */
/* No such playlist, presumably we'll get a deleted event shortly */
return;
/* Translate the list of tracks into queue entries */
- struct queue_entry *newq, **qq = &newq, *qprev;
+ struct queue_entry *newq, **qq = &newq, *qprev
= NULL
;
hash *h = hash_new(sizeof(int));
for(int n = 0; n < nvec; ++n) {
struct queue_entry *q = xmalloc(sizeof *q);
hash *h = hash_new(sizeof(int));
for(int n = 0; n < nvec; ++n) {
struct queue_entry *q = xmalloc(sizeof *q);