[vlc-devel] [PATCH] xcb: fix some memory leaks
Rémi Denis-Courmont
remi at remlab.net
Mon Jun 24 17:27:18 CEST 2013
Le lundi 24 juin 2013 18:13:39, Edward Wang a écrit :
> const xcb_keycode_t *p_keys = xcb_key_symbols_get_keycode( p_symbols,
> sym ); if( !p_keys )
> - return 0;
> + goto error;
This and that are obviously incoherent and the compiler would warn about it.
So I gather this patch was not tested.
> + free( p_keys );
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list