[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().
[reactos.git] / dll / win32 / setupapi / cfgmgr.c
index c7087e6..2c56fd1 100644 (file)
@@ -6691,7 +6691,7 @@ CM_Query_Resource_Conflict_List(
     if (lpDevInst == NULL)
         return CR_INVALID_DEVNODE;
 
-    pConflictData = MyMalloc(sizeof(PCONFLICT_DATA));
+    pConflictData = MyMalloc(sizeof(CONFLICT_DATA));
     if (pConflictData == NULL)
     {
         ret = CR_OUT_OF_MEMORY;