On 04/10/16 17:34, Alexander Zvegintsev wrote:
as I can see there is a memory leak in case when the index is greater than or equal to num_syms:837 KeySym *key_syms = XGetKeyboardMapping(display, keycode, 1, &num_syms); 838 if (index >= num_syms) { 839 return NoSymbol; 840 } key_syms is not freed.
So there is, thanks for the catch. -- Alan Burlison --