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
69355730
Commit
69355730
authored
Jun 27, 2017
by
bjovke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: intermittent memory leak for req/rep send/recv. #2602 Solution: memory leak fixed.
parent
a3550e61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
pipe.cpp
src/pipe.cpp
+2
-0
No files found.
src/pipe.cpp
View file @
69355730
...
...
@@ -410,6 +410,8 @@ void zmq::pipe_t::terminate (bool delay_)
// There are still pending messages available, but the user calls
// 'terminate'. We can act as if all the pending messages were read.
else
if
(
state
==
waiting_for_delimiter
&&
!
delay
)
{
// Drop any unfinished outbound messages.
rollback
();
outpipe
=
NULL
;
send_pipe_term_ack
(
peer
);
state
=
term_ack_sent
;
...
...
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