Bug 49045 - Data from org.freedesktop.Notifications not freed?
Summary: Data from org.freedesktop.Notifications not freed?
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
Depends on:
Reported: 2012-04-21 11:56 UTC by Tom Beckmann
Modified: 2012-04-22 06:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Tom Beckmann 2012-04-21 11:56:47 UTC
I'm not sure if this is to be reported for dbus, but I hope so.

When I create a simple server interface for org.freedesktop.Notifications (in my case in vala) and just pass the new id for the Notify method, so not showing anything or using the data, I quickly get 100mb of memory usage for this simple program, especially for notifications by music players which do also pass cover art.
I don't think I do anything wrong about freeing the passed memory, since it is done automatically in vala.
Ubuntu's Notify-OSD seems to have a similar problem: http://bazaar.launchpad.net/~canonical-dx-team/notify-osd/precise/view/head:/src/stack.c#L778 (see the comment), although I'm not fully sure if it is the same thing.
Do I have to free that data manually in some way or is this a bug in dbus?
Comment 1 Thiago Macieira 2012-04-22 06:46:47 UTC
It might be a Vala binding fault, which means it could be a gdbus fault. Either way, it's not a D-Bus core library fault and gdbus isn't tracked on this bugtracker.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.