Fix memory leaks in ensure_dbus_setup.
g_menu_append_item and g_menu_append_section don't reference their argument but copy the argument. So explicitly g_object_unref the arguments afterwards. Change-Id: I14f18d7571351a2eec99dc557b59e69b766fbde8 Reviewed-on: https://gerrit.libreoffice.org/5269Reviewed-by:Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com>
Showing
Please
register
or
sign in
to comment