Skip to content

Commit

Permalink
Fixes #11 issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvarga committed May 27, 2014
1 parent 4bda32c commit 16b4dbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zmqapi.pas
Expand Up @@ -828,7 +828,7 @@ constructor TZMQMsg.create;

destructor TZMQMsg.Destroy;
begin
msgs.Clear;
Clear;
msgs.Free;
inherited;
end;
Expand Down Expand Up @@ -1017,6 +1017,8 @@ procedure TZMQMsg.Clear;
begin
for i := 0 to size - 1 do
Item[i].Free;
msgs.Clear;
csize := 0;
cursor := 0;
end;

Expand Down

0 comments on commit 16b4dbf

Please sign in to comment.