diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-17 10:34:10 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-17 10:34:10 -0700 |
commit | 34df50af33d38621ce5d5a5510c7a4e70e1c17c1 (patch) | |
tree | 7ff88e7899bd6a86ea59409ab60154e7a9634bd1 /xmodmap.c | |
parent | 10eecbe868b5c898ea9cd05d014fbf13c29c3a26 (diff) |
PrintModifierMapping: stop leaking the map returned by XGetKeyboardMapping
Resolves issue reported by Oracle Parfait static analyzer:
Error: Memory leak
Memory leak [memory-leak] (CWE 401):
Memory leak of pointer pointer allocated with XGetKeyboardMapping(...)
at line 251 of app/xmodmap/exec.c in function 'PrintModifierMapping'.
pointer allocated at line 222 with XGetKeyboardMapping(...)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xmodmap.c')
0 files changed, 0 insertions, 0 deletions