[PORTCLS]
[reactos.git] / reactos / drivers / wdm / audio / backpln / portcls / resource.cpp
index 0654d9d..926e999 100644 (file)
@@ -360,7 +360,11 @@ PcNewResourceList(
 
     if (!NT_SUCCESS(Status))
     {
+        //
+        // Ouch, FIX ME
+        //
         delete NewList;
+        return STATUS_INVALID_PARAMETER;
     }
 
     if (!TranslatedResourceList)