Hopefully fail to break anything in the process of syncing with trunk (r47786)
[reactos.git] / lib / drivers / sound / mmixer / filter.c
index d02477d..955fd27 100644 (file)
@@ -57,6 +57,9 @@ MMixerGetFilterTopologyProperty(
     if (Status != MM_STATUS_MORE_ENTRIES)
         return Status;
 
+    //sanity check
+    ASSERT(BytesReturned);
+
     // allocate an result buffer
     MultipleItem = (PKSMULTIPLE_ITEM)MixerContext->Alloc(BytesReturned);