diff options
author | Erkki Seppälä <erkki.seppala@vincit.fi> | 2011-01-10 16:22:45 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:26 +0200 |
commit | e4815126b5f0befca091fe7c9ce40477ef1d5f19 (patch) | |
tree | 77ee19a38e647a13e3993ac7d24ccca6da6049a5 /nx-X11/lib/X11/mbWrap.c | |
parent | 018d938aa3aea8bd30bd07736bd4107aa6fda996 (diff) | |
download | nx-libs-e4815126b5f0befca091fe7c9ce40477ef1d5f19.tar.gz nx-libs-e4815126b5f0befca091fe7c9ce40477ef1d5f19.tar.bz2 nx-libs-e4815126b5f0befca091fe7c9ce40477ef1d5f19.zip |
im/ximcp: release modifiermap before returning
Variable "map" goes out of scope
Release modifiermap before returning. Reordered code to call
XGetModifierMapping after the first return from the function.
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/mbWrap.c')
0 files changed, 0 insertions, 0 deletions