[PORTCLS]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 12 Dec 2009 13:51:11 +0000 (13:51 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 12 Dec 2009 13:51:11 +0000 (13:51 +0000)
- Fix a bug
- Found by Amine Khaldi

svn path=/trunk/; revision=44547

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)