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

Issue 5796079: libibus: Fix a refcount issue in ibus_prop_list_deserialize() (Closed)

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

Description

libibus: Fix a refcount issue in ibus_prop_list_deserialize() BUG=None TEST=Linux desktop

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M src/ibusproplist.c View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 2
Peng
https://codereview.appspot.com/5796079/diff/1/src/ibusproplist.c File src/ibusproplist.c (left): https://codereview.appspot.com/5796079/diff/1/src/ibusproplist.c#oldcode111 src/ibusproplist.c:111: g_object_ref_sink (prop); ibus_prop_list_append() will call g_object_ref_sink(prop). So we have ...
12 years, 8 months ago (2012-03-13 15:45:13 UTC) #1
yusukes
12 years, 8 months ago (2012-03-13 16:02:59 UTC) #2
lgtm
On 2012/03/13 15:45:13, Peng wrote:
> https://codereview.appspot.com/5796079/diff/1/src/ibusproplist.c
> File src/ibusproplist.c (left):
> 
> https://codereview.appspot.com/5796079/diff/1/src/ibusproplist.c#oldcode111
> src/ibusproplist.c:111: g_object_ref_sink (prop);
> ibus_prop_list_append() will call g_object_ref_sink(prop). So we have to
remove
> g_object_ref_sink(prop) here.
Sign in to reply to this message.

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