queue: duplicate all song objects

Make sure the queue "owns" all song objects, so nobody else can free
them.
This commit is contained in:
Max Kellermann
2012-08-15 19:52:32 +02:00
parent e96779de48
commit 2bd344549b
3 changed files with 40 additions and 5 deletions
+1
View File
@@ -1351,6 +1351,7 @@ test_test_pcm_LDADD = \
test_test_queue_priority_SOURCES = \
src/queue.c \
test/FakeSong.cxx \
test/test_queue_priority.c
test_test_queue_priority_LDADD = \
$(GLIB_LIBS)