projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
beec693
)
[LSASRV]
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 16 Jul 2016 14:57:33 +0000
(14:57 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 16 Jul 2016 14:57:33 +0000
(14:57 +0000)
Fix cleanup in LsarRetrievePrivateData().
Modified patch by Victor Martinez Calvo.
CORE-11611 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71952
reactos/dll/win32/lsasrv/lsarpc.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/lsasrv/lsarpc.c
b/reactos/dll/win32/lsasrv/lsarpc.c
index
0df15ce
..
3561252
100644
(file)
--- a/
reactos/dll/win32/lsasrv/lsarpc.c
+++ b/
reactos/dll/win32/lsasrv/lsarpc.c
@@
-2625,11
+2625,11
@@
done:
if (EncCurrentValue != NULL)
midl_user_free(EncCurrentValue);
if (EncCurrentValue != NULL)
midl_user_free(EncCurrentValue);
-
- if (SecretObject != NULL)
- LsapCloseDbObject(SecretObject);
}
}
+ if (SecretObject != NULL)
+ LsapCloseDbObject(SecretObject);
+
return Status;
}
return Status;
}