Skip to content

Commit

Permalink
Fixing C: IronDomo broker leaks memory #2
Browse files Browse the repository at this point in the history
  • Loading branch information
desmoteo committed Feb 8, 2022
1 parent 0b66d3c commit aba7139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C/include/idbrokerapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ s_broker_worker_msg(broker_t *self, zframe_t *sender, zmsg_t *msg, bool clear)
zclock_log("E: invalid input message");
zmsg_dump(msg);
}
free(command);
zframe_destroy(&command);
zmsg_destroy(&msg);
}

Expand Down

0 comments on commit aba7139

Please sign in to comment.