]> git.0d.be Git - empathy.git/commitdiff
PresetDialog: Don't leak path when focusing freshly-created status
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 10 Jun 2011 20:15:35 +0000 (21:15 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Fri, 24 Jun 2011 09:45:38 +0000 (10:45 +0100)
(This was not introduced by my changes.)

libempathy-gtk/empathy-status-preset-dialog.c

index 8176e9ea758e1c9e6dc578dd94827e2c5efab963..12305558a46fc2c9f97c2312244032d0be29c6ab 100644 (file)
@@ -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;
                }
         }