Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c1fa23ac
Commit
c1fa23ac
authored
Oct 08, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of no longer used contextSize argument in Context_Release.
parent
c6fd036b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
11 deletions
+6
-11
cert.c
dlls/crypt32/cert.c
+1
-2
context.c
dlls/crypt32/context.c
+2
-3
crl.c
dlls/crypt32/crl.c
+1
-2
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-2
ctl.c
dlls/crypt32/ctl.c
+1
-2
No files found.
dlls/crypt32/cert.c
View file @
c1fa23ac
...
...
@@ -203,8 +203,7 @@ BOOL WINAPI CertFreeCertificateContext(PCCERT_CONTEXT pCertContext)
TRACE
(
"(%p)
\n
"
,
pCertContext
);
if
(
pCertContext
)
ret
=
Context_Release
((
void
*
)
pCertContext
,
sizeof
(
CERT_CONTEXT
),
CertDataContext_Free
);
ret
=
Context_Release
((
void
*
)
pCertContext
,
CertDataContext_Free
);
return
ret
;
}
...
...
dlls/crypt32/context.c
View file @
c1fa23ac
...
...
@@ -141,8 +141,7 @@ CONTEXT_PROPERTY_LIST *Context_GetProperties(const void *context)
return
(
ptr
&&
ptr
->
type
==
ContextTypeData
)
?
ptr
->
u
.
properties
:
NULL
;
}
BOOL
Context_Release
(
void
*
context
,
size_t
contextSize
,
ContextFreeFunc
dataContextFree
)
BOOL
Context_Release
(
void
*
context
,
ContextFreeFunc
dataContextFree
)
{
BASE_CONTEXT
*
base
=
BASE_CONTEXT_FROM_CONTEXT
(
context
);
BOOL
ret
=
TRUE
;
...
...
@@ -158,7 +157,7 @@ BOOL Context_Release(void *context, size_t contextSize,
* it as well, using the same offset and data free function.
*/
ret
=
Context_Release
(
CONTEXT_FROM_BASE_CONTEXT
(
base
->
u
.
linked
),
contextSize
,
dataContextFree
);
base
->
u
.
linked
),
dataContextFree
);
}
if
(
InterlockedDecrement
(
&
base
->
ref
)
==
0
)
{
...
...
dlls/crypt32/crl.c
View file @
c1fa23ac
...
...
@@ -346,8 +346,7 @@ BOOL WINAPI CertFreeCRLContext( PCCRL_CONTEXT pCrlContext)
TRACE
(
"(%p)
\n
"
,
pCrlContext
);
if
(
pCrlContext
)
ret
=
Context_Release
((
void
*
)
pCrlContext
,
sizeof
(
CRL_CONTEXT
),
CrlDataContext_Free
);
ret
=
Context_Release
((
void
*
)
pCrlContext
,
CrlDataContext_Free
);
return
ret
;
}
...
...
dlls/crypt32/crypt32_private.h
View file @
c1fa23ac
...
...
@@ -368,8 +368,7 @@ typedef void (*ContextFreeFunc)(void *context);
* If a data context has its ref count reach 0, calls dataContextFree on it.
* Returns FALSE if the reference count is <= 0 when called.
*/
BOOL
Context_Release
(
void
*
context
,
size_t
contextSize
,
ContextFreeFunc
dataContextFree
)
DECLSPEC_HIDDEN
;
BOOL
Context_Release
(
void
*
context
,
ContextFreeFunc
dataContextFree
)
DECLSPEC_HIDDEN
;
/**
* Context property list functions
...
...
dlls/crypt32/ctl.c
View file @
c1fa23ac
...
...
@@ -481,8 +481,7 @@ BOOL WINAPI CertFreeCTLContext(PCCTL_CONTEXT pCTLContext)
TRACE
(
"(%p)
\n
"
,
pCTLContext
);
if
(
pCTLContext
)
ret
=
Context_Release
((
void
*
)
pCTLContext
,
sizeof
(
CTL_CONTEXT
),
CTLDataContext_Free
);
ret
=
Context_Release
((
void
*
)
pCTLContext
,
CTLDataContext_Free
);
return
ret
;
}
...
...
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