Chen Fan 84961407a5 gtk.c: Fix memory leak in gd_set_keycode_type()
this memory leak is introduced by the original
 commit 3158a3482b0093e41f2b2596fba50774ea31ae08

 valgrind out showing:
 ==14553== 21,459 (72 direct, 21,387 indirect) bytes in 1 blocks are definitely
 lost in loss record 8,055 of 8,082
 ==14553==    at 0x4A06BC3: calloc (vg_replace_malloc.c:618)
 ==14553==    by 0x80DBFBC: XkbGetKeyboardByName (in /usr/lib64/libX11.so.6.3.0)
 ==14553==    by 0x40C704: gtk_display_init (gtk.c:1798)
 ==14553==    by 0x1AEDC1: main (vl.c:4480)

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-10-15 11:08:32 +02:00
..
2014-09-22 11:39:45 +01:00
2014-05-26 08:42:43 +02:00
2014-10-02 09:58:14 +02:00
2014-05-16 08:30:11 +02:00
2014-09-16 08:07:05 +02:00
2014-09-16 08:07:05 +02:00
2014-09-05 13:27:11 +02:00
2014-09-17 15:14:41 +02:00
2014-07-25 09:43:31 +02:00