Skip to content

Commit

Permalink
Merge pull request #305 from malanka/master
Browse files Browse the repository at this point in the history
Problem: potential memory leak
  • Loading branch information
hintjens committed Apr 15, 2016
2 parents 6f1f2d9 + 3eacee4 commit 4267245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zproto_client_c.gsl
Original file line number Diff line number Diff line change
Expand Up @@ -1401,8 +1401,8 @@ s_accept_reply ($(class.name)_t *self, ...)
va_end (args);
// If anything was remaining on pipe, flush it
zsock_flush (self->actor);
zstr_free (&reply);
if (filter) {
zstr_free (&reply);
return 0; // We matched one of the filters
}
}
Expand Down

0 comments on commit 4267245

Please sign in to comment.