summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-10 14:37:24 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-10 14:37:24 +0100
commit0bc2f204526be9ff2c7eb0ba7b998197ecb074ff (patch)
tree5aa3fe7ee0a35a1649c97d38915c325cfb7a0034 /main.c
parent07c402bc06c7158b5669f622ff7d1896ce423ff7 (diff)
multiple playlist management WIP
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8c5b717d..e4b672b5 100644
--- a/main.c
+++ b/main.c
@@ -531,6 +531,8 @@ main (int argc, char *argv[]) {
atexit (atexit_handler); // helps to save in simple cases, like xkill
+ plt_add (0, "Default");
+
// execute server commands in local context
int noloadpl = 0;
if (argc > 1) {
@@ -586,6 +588,7 @@ main (int argc, char *argv[]) {
pl_free ();
conf_free ();
messagepump_free ();
+ plt_free ();
sigterm_handled = 1;
fprintf (stderr, "hej-hej!\n");
return 0;