aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-18 10:07:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-03-18 10:07:04 -0500
commite17c55cfb54dfcf7231459154daa598311fa7786 (patch)
tree02250cc2c97fcd19b804fbfd93477a2dbbd8d688 /src/datetime-service.c
parentc31a4b20e1029de61406a204a462d2e233b2e7e6 (diff)
downloadayatana-indicator-datetime-e17c55cfb54dfcf7231459154daa598311fa7786.tar.gz
ayatana-indicator-datetime-e17c55cfb54dfcf7231459154daa598311fa7786.tar.bz2
ayatana-indicator-datetime-e17c55cfb54dfcf7231459154daa598311fa7786.zip
leak: fix GdkPixbuf leak when setting up appointments
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 7d4a9f2..e628ef3 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -996,6 +996,7 @@ update_appointment_menu_items (gpointer user_data)
}
dbusmenu_menuitem_property_set_image (item, APPOINTMENT_MENUITEM_PROP_ICON, pixbuf);
+ g_clear_object (&pixbuf);
} else {
g_debug("Creating pixbuf from surface failed");
}