diff options
Diffstat (limited to 'libX11/modules/im/ximcp/imCallbk.c')
-rw-r--r-- | libX11/modules/im/ximcp/imCallbk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libX11/modules/im/ximcp/imCallbk.c b/libX11/modules/im/ximcp/imCallbk.c index 07921f8a1..4e091d8ef 100644 --- a/libX11/modules/im/ximcp/imCallbk.c +++ b/libX11/modules/im/ximcp/imCallbk.c @@ -553,10 +553,8 @@ static void _free_memory_for_text(XIMText* text) { if (text) { - if (text->string.multi_byte) - Xfree(text->string.multi_byte); - if (text->feedback) - Xfree(text->feedback); + Xfree(text->string.multi_byte); + Xfree(text->feedback); Xfree(text); } } |