aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-06-11 04:15:35 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-24 17:45:38 +0800
commit05fb4bd53ec98426d0880b0557031b2579ec96de (patch)
treef7afca9dc79fc2435a378074da076a78915c5b4d /libempathy-gtk
parent901256e30ba93abc86dfd3826ee28f322251c673 (diff)
downloadgsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar.gz
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar.bz2
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar.lz
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar.xz
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.tar.zst
gsoc2013-empathy-05fb4bd53ec98426d0880b0557031b2579ec96de.zip
PresetDialog: Don't leak path when focusing freshly-created status
(This was not introduced by my changes.)
Diffstat (limited to 'libempathy-gtk')
-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 8176e9ea7..12305558a 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.c
+++ b/libempathy-gtk/empathy-status-preset-dialog.c
@@ -472,6 +472,7 @@ status_preset_dialog_add_preset (GtkWidget *widget,
priv->text_cell,
FALSE);
gtk_widget_grab_focus (priv->presets_treeview);
+ gtk_tree_path_free (path);
break;
}
}