diff audacious/playlist.c @ 1760:47dcc46bb091 trunk

[svn] - fix for "playlist.c:1482: Mutex not locked!"
author yaz
date Thu, 28 Sep 2006 08:36:43 -0700
parents c7c1e346bb55
children 0734a9808884
line wrap: on
line diff
--- a/audacious/playlist.c	Sun Sep 24 12:08:30 2006 -0700
+++ b/audacious/playlist.c	Thu Sep 28 08:36:43 2006 -0700
@@ -1320,7 +1320,9 @@
     if (plc->plc_write == NULL)
         return FALSE;
 
+    PLAYLIST_LOCK();
     plc->plc_write(filename, 0);
+    PLAYLIST_UNLOCK();
 
     return TRUE;
 }