aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp/imCallbk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/im/ximcp/imCallbk.c')
-rw-r--r--libX11/modules/im/ximcp/imCallbk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libX11/modules/im/ximcp/imCallbk.c b/libX11/modules/im/ximcp/imCallbk.c
index 866b27c64..6275bbf00 100644
--- a/libX11/modules/im/ximcp/imCallbk.c
+++ b/libX11/modules/im/ximcp/imCallbk.c
@@ -247,6 +247,8 @@ _XimCbDispatch(Xim xim,
/* status = XimCbQueued; */
} else {
/* status = XimCbError; */
+ Xfree(pcb);
+ Xfree(proto_buf);
}
}
else {