Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
dc39d232
Commit
dc39d232
authored
Nov 15, 2014
by
Ungureanu Marius
Committed by
Aki Koskinen
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plug possible leak in the openssl locks
parent
3a2c60e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/global.c
+6
-0
No files found.
src/global.c
View file @
dc39d232
...
...
@@ -64,7 +64,13 @@ void openssl_locking_function(int mode, int n, const char *file, int line)
static
void
shutdown_ssl
(
void
)
{
int
num_locks
,
i
;
num_locks
=
CRYPTO_num_locks
();
CRYPTO_set_locking_callback
(
NULL
);
for
(
i
=
0
;
i
<
num_locks
;
++
i
)
git_mutex_free
(
openssl_locks
);
git__free
(
openssl_locks
);
}
#endif
...
...
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