Fix a small memory leak in xim plugin
TQXIMInputContext::setHolderWidget() function may be (and actually is) called more than once. This results in multiple instances of the same object being added to ximContextList. But the destructor removes only one instance, which effectively results in leak of several bytes whenever a window is opened. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>pull/126/head
parent
8e4edc5883
commit
1278ed0dad
Loading…
Reference in New Issue