DescriptionMake ExportedObject and ObjectProxy own Bus as scoped_refptr.
They should own Bus as scoped_refptr, rather than raw pointer.
Otherwise, they may reference |bus_| after Bus is deleted.
I know this is convoluted. I'm planning to minimize use of
scoped_refptr from dbus/* but this change is necessary until then.
TEST=run dbus_unittest under valgrind and confirm no memory leaks
BUG=chromium-os:21379
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105222
Patch Set 1 #
Total comments: 2
Patch Set 2 : address comments #
Messages
Total messages: 7 (0 generated)
|