1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/japanese/vje30/files/patch-ximsub1.c
Akinori MUSHA e8a49fd3ff Applying the patch posted on unix-ml@vacs.co.jp mailing list by
Hiroyuki Aizu <aizu@jaist.ac.jp>, build `vje' executable from the
source.

This should finally fix the memory leakage problem that has been
reported by many users. :)
2001-01-11 12:52:12 +00:00

29 lines
779 B
C

--- delta/newFrontend/ximsub1.c.orig Tue Aug 1 03:00:00 2000
+++ delta/newFrontend/ximsub1.c Thu Jan 11 21:24:21 2001
@@ -259,10 +259,11 @@
if (&fxim_table[i].client == xim_client) {
FreeRecvQueue(fxim_table[i].client.pending);
+
#if 1/*991109*/
- if (xim_client->v_data) {
+ /* if (xim_client->v_data) { */
CloseVJE (xim_client);
- }
+ /* } */
#endif
fxim_table[i].client.used = False;
if (xim_client->preedit->FontName) {
@@ -295,9 +296,9 @@
FreeRecvQueue(fxim_table[i].client.pending);
#if 1/*991109*/
xim_client = &fxim_table[i].client;
- if (xim_client->v_data) {
+ /* if (xim_client->v_data) { */
CloseVJE (xim_client);
- }
+ /* } */
#endif
fxim_table[i].client.used = False;