Author: rharabien
Date: Tue Apr 5 21:24:25 2011
New Revision: 51261
URL:
http://svn.reactos.org/svn/reactos?rev=51261&view=rev
Log:
[USRMGR]
Free buffer instead of freeing pointer to buffer
Modified:
trunk/reactos/dll/cpl/usrmgr/groupprops.c
trunk/reactos/dll/cpl/usrmgr/groups.c
trunk/reactos/dll/cpl/usrmgr/userprops.c
trunk/reactos/dll/cpl/usrmgr/users.c
Modified: trunk/reactos/dll/cpl/usrmgr/groupprops.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/groupprops.…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/groupprops.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/groupprops.c [iso-8859-1] Tue Apr 5 21:24:25 2011
@@ -139,7 +139,7 @@
pUserBuffer[i].usri20_comment);
}
- NetApiBufferFree(&pUserBuffer);
+ NetApiBufferFree(pUserBuffer);
/* No more data left */
if (netStatus != ERROR_MORE_DATA)
Modified: trunk/reactos/dll/cpl/usrmgr/groups.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/groups.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/groups.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/groups.c [iso-8859-1] Tue Apr 5 21:24:25 2011
@@ -77,7 +77,7 @@
pBuffer[i].lgrpi1_comment);
}
- NetApiBufferFree(&pBuffer);
+ NetApiBufferFree(pBuffer);
/* No more data left */
if (netStatus != ERROR_MORE_DATA)
Modified: trunk/reactos/dll/cpl/usrmgr/userprops.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/userprops.c…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/userprops.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/userprops.c [iso-8859-1] Tue Apr 5 21:24:25 2011
@@ -432,7 +432,7 @@
pBuffer[i].lgrpi1_comment);
}
- NetApiBufferFree(&pBuffer);
+ NetApiBufferFree(pBuffer);
/* No more data left */
if (netStatus != ERROR_MORE_DATA)
Modified: trunk/reactos/dll/cpl/usrmgr/users.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/users.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] Tue Apr 5 21:24:25 2011
@@ -441,7 +441,7 @@
pBuffer[i].usri20_comment);
}
- NetApiBufferFree(&pBuffer);
+ NetApiBufferFree(pBuffer);
/* No more data left */
if (netStatus != ERROR_MORE_DATA)