[empathy: 8/12] PresetDialog: Don't leak path when focusing freshly-created status



commit 05fb4bd53ec98426d0880b0557031b2579ec96de
Author: Will Thompson <will thompson collabora co uk>
Date:   Fri Jun 10 21:15:35 2011 +0100

    PresetDialog: Don't leak path when focusing freshly-created status
    
    (This was not introduced by my changes.)

 libempathy-gtk/empathy-status-preset-dialog.c |    1 +
 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 8176e9e..1230555 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;
 		}
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]