Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(871)

Issue 307050043: Fix GVariant leaks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 8 months ago by fujiwara
Modified:
7 years, 8 months ago
Reviewers:
shawn.p.huang, Peng
CC:
shawn.p.huang_gmail.com
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M bus/inputcontext.c View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 3
fujiwara
7 years, 8 months ago (2016-08-17 07:00:45 UTC) #1
Peng
On 2016/08/17 07:00:45, fujiwara wrote: lgtm
7 years, 8 months ago (2016-08-17 15:05:16 UTC) #2
fujiwara
7 years, 8 months ago (2016-08-18 02:17:39 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
997e5cb1b100c6af267b8121445db1db7e580d5f (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b