aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-source-selector.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-source-selector.c b/e-util/e-source-selector.c
index 43c6d453bd..1b4fd3897f 100644
--- a/e-util/e-source-selector.c
+++ b/e-util/e-source-selector.c
@@ -886,7 +886,7 @@ source_selector_button_press_event (GtkWidget *widget,
{
ESourceSelector *selector;
GtkWidgetClass *widget_class;
- GtkTreePath *path;
+ GtkTreePath *path = NULL;
ESource *source = NULL;
ESource *primary;
gboolean right_click = FALSE;
@@ -922,6 +922,9 @@ source_selector_button_press_event (GtkWidget *widget,
gtk_tree_model_get (model, &iter, COLUMN_SOURCE, &source, -1);
}
+ if (path)
+ gtk_tree_path_free (path);
+
if (source == NULL)
goto chainup;