[WSHTCPIP]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 19 Feb 2017 12:21:06 +0000 (12:21 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 19 Feb 2017 12:21:06 +0000 (12:21 +0000)
- Fix incorrect sizeof in SHIoctl_GetInterfaceList. CID 1401188

svn path=/trunk/; revision=73841

reactos/dll/win32/wshtcpip/iflist.c

index 6dd4b53..a3fe651 100644 (file)
@@ -236,7 +236,7 @@ WSHIoctl_GetInterfaceList(
     INT res = -1;
 
     /* Init Interface-ID-List */
-    IntfIDList = HeapAlloc(hHeap,0,sizeof(IntfIDList));
+    IntfIDList = HeapAlloc(hHeap, 0, sizeof(*IntfIDList));
     list_init(&IntfIDList->entry);
 
     /* open tcp-driver */