summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-06-10 21:15:35 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-24 09:48:15 +0100
commit98d8ab1991d23766fc965a1f6ab9d97e415cfdb9 (patch)
treeeae44c72a56051212e8d1e49ff638ac447045e7b
parentc923011dcfa55a2717f4376227c32395a06066b0 (diff)
downloadempathy-98d8ab1991d23766fc965a1f6ab9d97e415cfdb9.tar.gz
PresetDialog: Don't leak path when focusing freshly-created status
-rw-r--r--libempathy-gtk/empathy-status-preset-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c
index 2c36cb332..dd835078f 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.c
+++ b/libempathy-gtk/empathy-status-preset-dialog.c
@@ -465,6 +465,7 @@ status_preset_dialog_add_preset (GtkWidget *widget,
GTK_TREE_VIEW (priv->presets_treeview),
path, NULL,
FALSE, 0., 0.);
+ gtk_tree_path_free (path);
break;
}
}