chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bbeb28
)
missed a critical bit of the q->prev logic!
author
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 24 Nov 2009 20:33:58 +0000
(20:33 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 24 Nov 2009 20:33:58 +0000
(20:33 +0000)
disobedience/playlists.c
patch
|
blob
|
blame
|
history
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 */
- 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);