--- linuxsampler/trunk/src/diskthread.cpp 2004/03/31 10:28:42 41 +++ linuxsampler/trunk/src/diskthread.cpp 2004/04/11 17:25:38 42 @@ -164,9 +164,10 @@ if (pStream && pStream != SLOT_RESERVED) { dmsg(4,("(yes created)\n")); pCreatedStreams[StreamOrderID] = NULL; // free the slot for a new order + return pStream; } - else dmsg(4,("(no not yet created)\n")); - return pStream; + dmsg(4,("(no not yet created)\n")); + return NULL; }