aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/server.c
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2012-09-20 18:46:43 +0200
committerDidier Roche <didier.roche@canonical.com>2012-09-20 18:46:43 +0200
commit7cc396a8a286cebb890aa718530d2acda63fa7df (patch)
tree7cdde9cd0352fb262a893683b8b2c93e5a4f7ffe /libdbusmenu-glib/server.c
parent39588b350296d635de3dcbb4ea8499c8c693b90e (diff)
parentc36de4d59150df37ec782a17fb3d14424fb4734a (diff)
downloadlibdbusmenu-7cc396a8a286cebb890aa718530d2acda63fa7df.tar.gz
libdbusmenu-7cc396a8a286cebb890aa718530d2acda63fa7df.tar.bz2
libdbusmenu-7cc396a8a286cebb890aa718530d2acda63fa7df.zip
* New upstream release.
- Honor changes to GtkSettings' gtk-menu-images value (LP: #927236) - don't display an underscore on menuitimes containing a '&' (LP: #994564) - set the widget for the accelerator even if there isn't a mnemonic (LP: #982656) - make the vala bindings use pkg-config names, rather than gir ones - Some platforms don't have valgrind, so treat those unit tests separately - make headers match independent of the build directory - constify some public API calls
Diffstat (limited to 'libdbusmenu-glib/server.c')
-rw-r--r--libdbusmenu-glib/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index 9e5ef0c..f47bb5d 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -463,6 +463,11 @@ dbusmenu_server_finalize (GObject *object)
{
DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(object);
+ if (priv->dbusobject != NULL) {
+ g_free (priv->dbusobject);
+ priv->dbusobject = NULL;
+ }
+
if (priv->icon_dirs != NULL) {
g_strfreev(priv->icon_dirs);
priv->icon_dirs = NULL;