<AWT Dev> RFR: JDK-8165232 XKeycodeToKeysym is deprecated and should be replaced with XkbKeycodeToKeysym

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Tue Oct 4 16:34:25 UTC 2016


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.


On 10/4/16 1:06 PM, Alan Burlison wrote:
> On 03/10/2016 22:08, Phil Race wrote:
>> Do we have a 2nd reviewer yet ? I have not seen it.
> Gah you are right, I thought I'd seen a 2nd. Any takers?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20161004/bb357bd7/attachment.html>

More information about the awt-dev mailing list