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

Issue 4662043: Fix BusEngineProxy instance leak. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Daiki Ueno
Modified:
12 years, 10 months ago
Reviewers:
shawn.p.huang, Yusuke Sato, Peng
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Fix BusEngineProxy instance leak. BUG=none TEST=manually with / without global-engine setting

Patch Set 1 #

Patch Set 2 : two more fixes #

Total comments: 2

Patch Set 3 : remove one more unnecessary unref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -13 lines) Patch
M bus/engineproxy.c View 1 1 chunk +0 lines, -9 lines 0 comments Download
M bus/inputcontext.c View 1 2 4 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 7
Daiki Ueno
(Superseding https://codereview.appspot.com/4660041/, Cc'ing Sato-san in case that this is related to Chromium OS) I noticed ...
12 years, 10 months ago (2011-06-23 01:51:56 UTC) #1
Daiki Ueno
Hmm, sorry. I got a crash if I select the same engine twice - I'll ...
12 years, 10 months ago (2011-06-23 02:24:20 UTC) #2
Daiki Ueno
OK, I found two more issues regarding this. First, when BusEngineProxy is destroyed, "Destroy" D-Bus ...
12 years, 10 months ago (2011-06-27 08:37:17 UTC) #3
Peng
http://codereview.appspot.com/4662043/diff/4001/bus/inputcontext.c File bus/inputcontext.c (left): http://codereview.appspot.com/4662043/diff/4001/bus/inputcontext.c#oldcode1024 bus/inputcontext.c:1024: g_object_unref (desc); The desc is returned from g_signal_emit(). Could ...
12 years, 10 months ago (2011-06-28 04:30:46 UTC) #4
Daiki Ueno
I also noticed one more unnecessary g_object_unref in bus_input_context_enable. I'll update the patchset soon. https://codereview.appspot.com/4662043/diff/4001/bus/inputcontext.c ...
12 years, 10 months ago (2011-06-30 09:19:37 UTC) #5
Peng
On 2011/06/30 09:19:37, Daiki Ueno wrote: > I also noticed one more unnecessary g_object_unref in ...
12 years, 10 months ago (2011-07-03 19:27:14 UTC) #6
Daiki Ueno
12 years, 10 months ago (2011-07-04 00:45:38 UTC) #7
Thanks for the review and commit.  Closing.
Sign in to reply to this message.

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