Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
b73d1c8f
Commit
b73d1c8f
authored
Jun 22, 2014
by
Martin Hurton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak in socks connecter
parent
79d578ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
socks_connecter.cpp
src/socks_connecter.cpp
+1
-0
socks_connecter.hpp
src/socks_connecter.hpp
+1
-0
No files found.
src/socks_connecter.cpp
View file @
b73d1c8f
...
...
@@ -62,6 +62,7 @@ zmq::socks_connecter_t::socks_connecter_t (class io_thread_t *io_thread_,
zmq
::
socks_connecter_t
::~
socks_connecter_t
()
{
zmq_assert
(
s
==
retired_fd
);
delete
proxy_addr
;
}
void
zmq
::
socks_connecter_t
::
process_plug
()
...
...
src/socks_connecter.hpp
View file @
b73d1c8f
...
...
@@ -112,6 +112,7 @@ namespace zmq
// Address to connect to. Owned by session_base_t.
address_t
*
addr
;
// SOCKS address; owned by this connecter.
address_t
*
proxy_addr
;
int
status
;
...
...
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