summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-03 21:04:39 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-03 21:04:39 +0200
commitf5a42be89f5acd1a171a671a71cdd9b3a5f8991f (patch)
tree48c9bd5497130890714ee8c022a5d7995cf130e2 /main.c
parentb59bfddfa661a67b621b7bc24ae9aefa89fc2abf (diff)
fixed segfault on adding tracks from commandline
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 129273b4..b53a2205 100644
--- a/main.c
+++ b/main.c
@@ -208,7 +208,7 @@ server_exec_command_line (const char *cmdline, int len, char *sendback, int sbsi
if (parg < pend) {
// add files
if (!queue) {
- pl_free ();
+ pl_clear ();
pl_reset_cursor ();
}
while (parg < pend) {