Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9dba3479
Commit
9dba3479
authored
Jan 28, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release the client security objects when no longer needed (reported by
Mike McCormack).
parent
e8e42e46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
compobj.c
dlls/ole32/compobj.c
+9
-0
No files found.
dlls/ole32/compobj.c
View file @
9dba3479
...
...
@@ -2593,10 +2593,13 @@ HRESULT WINAPI CoQueryProxyBlanket(IUnknown *pProxy, DWORD *pAuthnSvc,
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IClientSecurity
,
(
void
**
)
&
pCliSec
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IClientSecurity_QueryBlanket
(
pCliSec
,
pProxy
,
pAuthnSvc
,
pAuthzSvc
,
ppServerPrincName
,
pAuthnLevel
,
pImpLevel
,
ppAuthInfo
,
pCapabilities
);
IClientSecurity_Release
(
pCliSec
);
}
if
(
FAILED
(
hr
))
ERR
(
"-- failed with 0x%08lx
\n
"
,
hr
);
return
hr
;
...
...
@@ -2635,10 +2638,13 @@ HRESULT WINAPI CoSetProxyBlanket(IUnknown *pProxy, DWORD AuthnSvc,
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IClientSecurity
,
(
void
**
)
&
pCliSec
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IClientSecurity_SetBlanket
(
pCliSec
,
pProxy
,
AuthnSvc
,
AuthzSvc
,
pServerPrincName
,
AuthnLevel
,
ImpLevel
,
pAuthInfo
,
Capabilities
);
IClientSecurity_Release
(
pCliSec
);
}
if
(
FAILED
(
hr
))
ERR
(
"-- failed with 0x%08lx
\n
"
,
hr
);
return
hr
;
...
...
@@ -2669,7 +2675,10 @@ HRESULT WINAPI CoCopyProxy(IUnknown *pProxy, IUnknown **ppCopy)
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IClientSecurity
,
(
void
**
)
&
pCliSec
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IClientSecurity_CopyProxy
(
pCliSec
,
pProxy
,
ppCopy
);
IClientSecurity_Release
(
pCliSec
);
}
if
(
FAILED
(
hr
))
ERR
(
"-- failed with 0x%08lx
\n
"
,
hr
);
return
hr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment