[Spice-devel] [spice-gtk] Fix SndCodec leak in playback_handle_start()

2014-10-22 Thread Christophe Fergeau
An audio SpiceChannel can get several times the 'start' message during its lifetime. If received multiple times (for example when rebooting a VM), this would lead to a SndCodec leak as reported by valgrind: ==7749== 27,036 (48 direct, 26,988 indirect) bytes in 1 blocks are definitely lost in

Re: [Spice-devel] [spice-gtk] Fix SndCodec leak in playback_handle_start()

2014-10-22 Thread Marc-André Lureau
ack - Original Message - An audio SpiceChannel can get several times the 'start' message during its lifetime. If received multiple times (for example when rebooting a VM), this would lead to a SndCodec leak as reported by valgrind: ==7749== 27,036 (48 direct, 26,988 indirect) bytes