projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fixes and use a .spec file
[reactos.git]
/
reactos
/
lib
/
aclui
/
sidcache.c
diff --git
a/reactos/lib/aclui/sidcache.c
b/reactos/lib/aclui/sidcache.c
index
1ab245e
..
73513ff
100644
(file)
--- a/
reactos/lib/aclui/sidcache.c
+++ b/
reactos/lib/aclui/sidcache.c
@@
-583,8
+583,7
@@
CreateSidCacheMgr(IN HANDLE Heap,
scm = HeapAlloc(Heap,
0,
FIELD_OFFSET(SIDCACHEMGR,
scm = HeapAlloc(Heap,
0,
FIELD_OFFSET(SIDCACHEMGR,
- SystemName[0]) +
- ((wcslen(SystemName) + 1) * sizeof(WCHAR)));
+ SystemName[wcslen(SystemName) + 1]));
if (scm != NULL)
{
/* zero the static part of the structure */
if (scm != NULL)
{
/* zero the static part of the structure */