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
f19086e9
Commit
f19086e9
authored
Sep 14, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix some memory leaks.
parent
a5fdea0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
msg.c
dlls/crypt32/msg.c
+1
-0
rootstore.c
dlls/crypt32/rootstore.c
+1
-0
No files found.
dlls/crypt32/msg.c
View file @
f19086e9
...
...
@@ -2079,6 +2079,7 @@ static BOOL CDecodeHashMsg_VerifyHash(CDecodeMsg *msg)
if
(
ret
)
ret
=
!
memcmp
(
hashBlob
.
pbData
,
computedHash
,
hashBlob
.
cbData
);
CryptMemFree
(
computedHash
);
}
else
ret
=
FALSE
;
...
...
dlls/crypt32/rootstore.c
View file @
f19086e9
...
...
@@ -137,6 +137,7 @@ static BOOL import_base64_certs_from_fp(FILE *fp, HCERTSTORE store)
if
(
CertAddEncodedCertificateToStore
(
store
,
X509_ASN_ENCODING
,
buf
,
size
,
CERT_STORE_ADD_NEW
,
NULL
))
num_certs
++
;
CryptMemFree
(
buf
);
}
}
}
...
...
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