changeset 865:9052d9096c59

Check for NULL filename here.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 09 Nov 2012 03:55:39 +0200
parents 55b16cb42413
children 6b47d9813067
files src/xmms-sid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.c	Fri Nov 09 03:52:32 2012 +0200
+++ b/src/xmms-sid.c	Fri Nov 09 03:55:39 2012 +0200
@@ -568,7 +568,7 @@
  */
 void xs_play_file(gchar *filename)
 {
-    if (xs_status.engine == NULL)
+    if (xs_status.engine == NULL || filename == NULL)
         return;
 
     XSDEBUG("play '%s'\n", filename);