]> git.sur5r.net Git - i3/i3/commit
Bugfix: ipc_receive_message reply leak
authorTony Crisci <tony@dubstepdish.com>
Sat, 8 Mar 2014 04:56:25 +0000 (23:56 -0500)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 8 Mar 2014 19:58:56 +0000 (20:58 +0100)
commita16dfdb15e2767d9753d45982b189de6edfdf70b
tree2851072fe0b27034d0ba41a0d6a2ab7edfdb017e
parentbc0bf2285c55d0b8cca9a087702ce14d0da424d8
Bugfix: ipc_receive_message reply leak

The function ipc_recv_message in libi3 allocates memory to the location
of the `message` reply in src/ipc_receive_message.c with malloc and must
be freed.

This memory leak was found using valgrind.
src/ipc.c