DescriptionFix GVariant leaks
The expectation is that g_dbus_message_set_body() takes ownership of the
GVariant, but this does not happen if the BusInputContext connection is NULL.
Call g_variant_unref() in that case to free the memory. Alternatively, a
GVariantBuilder could be used.
BUG=https://github.com/ibus/ibus/pull/1872
R=Shawn.P.Huang@gmail.com
Committed: 997e5cb1b100c6af267b8121445db1db7e580d5f
Patch Set 1 #
MessagesTotal messages: 3
|