Re: [PATCH 1/3] compositor-rdp: fix leak of frame bitmap in raw mode

2017-07-09 Thread Hardening
Le 06/07/2017 à 12:06, Olivier Blin a écrit : > In rdp_peer_refresh_raw(), cmd->bitmapData was reallocated, but never freed. > > The cmd content (actually peer->update->surface_bits_command) was > re-initialized to zero at the beginning of the function, losing the > pointer to the previously

[PATCH 1/3] compositor-rdp: fix leak of frame bitmap in raw mode

2017-07-06 Thread Olivier Blin
In rdp_peer_refresh_raw(), cmd->bitmapData was reallocated, but never freed. The cmd content (actually peer->update->surface_bits_command) was re-initialized to zero at the beginning of the function, losing the pointer to the previously allocated bitmap data. Move the bitmap data in the