From 766a1322395e32286930a62b9f66033a0d8d637c Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 15 Jun 2018 11:36:12 +0800 Subject: fixes lua memory leak --- lua/lua-plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lua-plugin.h') diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h index fb5f5b9..ebb2b2a 100644 --- a/lua/lua-plugin.h +++ b/lua/lua-plugin.h @@ -174,7 +174,7 @@ int ibus_engine_plugin_call(IBusEnginePlugin * plugin, const char * lua_function /** * retrieve the first string value. (value has been copied.) */ -const char * ibus_engine_plugin_get_first_result(IBusEnginePlugin * plugin); +gchar * ibus_engine_plugin_get_first_result(IBusEnginePlugin * plugin); /** * retrieve the retval string value. (value has been copied.) -- cgit