Hopefully fail to break anything in the process of syncing with trunk (r47786)
[reactos.git] / drivers / wdm / audio / legacy / wdmaud / control.c
index 4fc1d67..3af87b8 100644 (file)
@@ -251,7 +251,7 @@ WdmAudGetDeviceInterface(
             RtlMoveMemory(DeviceInfo->u.Interface.DeviceInterfaceString, Device, Length);
         }
 
-        ExFreePool(Device);
+        FreeItem(Device);
         return SetIrpIoStatus(Irp, STATUS_SUCCESS, sizeof(WDMAUD_DEVICE_INFO));
     }
     else if (DeviceInfo->DeviceType == MIXER_DEVICE_TYPE)