https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b13990bd789a6e2bc9b0f…
commit b13990bd789a6e2bc9b0f9230cfeafefeba9c780
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon Jun 10 02:14:52 2019 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Jun 15 17:55:33 2019 +0200
[SETUPAPI] Revert "Fix a typo in CM_Query_Resource_Conflict_List." (#1634)
Previous code was correct.
This reverts commit c47ad98f.
---
dll/win32/setupapi/cfgmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/setupapi/cfgmgr.c b/dll/win32/setupapi/cfgmgr.c
index d33a6497172..8215d47ac63 100644
--- a/dll/win32/setupapi/cfgmgr.c
+++ b/dll/win32/setupapi/cfgmgr.c
@@ -6761,7 +6761,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;