http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403 src/ibusbus.c:403: bus); _connection_closed_cb callback will releases some resources. If we ...
12 years, 11 months ago
(2011-07-10 14:55:24 UTC)
#2
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403 src/ibusbus.c:403: bus); On 2011/07/10 15:48:03, Yusuke Sato wrote: > On ...
12 years, 11 months ago
(2011-07-10 16:30:41 UTC)
#4
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c
File src/ibusbus.c (right):
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403
src/ibusbus.c:403: bus);
On 2011/07/10 15:48:03, Yusuke Sato wrote:
> On 2011/07/10 14:55:24, Peng Huang wrote:
> > _connection_closed_cb callback will releases some resources. If we
disconnect
> > it, we need release them in this function.
>
> True, but 'g_free (bus->priv->unique_name);' is already called in this
function.
> Which resources are you in mind?
I checked the callback. I think we need release the GDBusConnection here at
least.
thanks, fixed. please take another look. On 2011/07/10 16:30:41, Peng Huang wrote: > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c > ...
12 years, 11 months ago
(2011-07-11 00:43:00 UTC)
#5
thanks, fixed. please take another look.
On 2011/07/10 16:30:41, Peng Huang wrote:
> http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c
> File src/ibusbus.c (right):
>
> http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403
> src/ibusbus.c:403: bus);
> On 2011/07/10 15:48:03, Yusuke Sato wrote:
> > On 2011/07/10 14:55:24, Peng Huang wrote:
> > > _connection_closed_cb callback will releases some resources. If we
> disconnect
> > > it, we need release them in this function.
> >
> > True, but 'g_free (bus->priv->unique_name);' is already called in this
> function.
> > Which resources are you in mind?
>
> I checked the callback. I think we need release the GDBusConnection here at
> least.
On 2011/07/11 00:43:00, Yusuke Sato wrote: > thanks, fixed. please take another look. > > ...
12 years, 11 months ago
(2011-07-11 02:22:12 UTC)
#6
On 2011/07/11 00:43:00, Yusuke Sato wrote:
> thanks, fixed. please take another look.
>
> On 2011/07/10 16:30:41, Peng Huang wrote:
> > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c
> > File src/ibusbus.c (right):
> >
> > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403
> > src/ibusbus.c:403: bus);
> > On 2011/07/10 15:48:03, Yusuke Sato wrote:
> > > On 2011/07/10 14:55:24, Peng Huang wrote:
> > > > _connection_closed_cb callback will releases some resources. If we
> > disconnect
> > > > it, we need release them in this function.
> > >
> > > True, but 'g_free (bus->priv->unique_name);' is already called in this
> > function.
> > > Which resources are you in mind?
> >
> > I checked the callback. I think we need release the GDBusConnection here at
> > least.
LGTM
Issue 4675074: Remove the callback on destroy.
(Closed)
Created 12 years, 11 months ago by Yusuke Sato
Modified 12 years, 11 months ago
Reviewers: shawn.p.huang_gmail.com, Peng Huang, Peng
Base URL: git@github.com:ibus/ibus.git@master
Comments: 3