summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools/gregedit.c')
-rw-r--r--source4/gtk/tools/gregedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 6ca7fb653f..918ebd6945 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -990,7 +990,7 @@ static GtkWidget* create_savefilewin (void)
gtk_main ();
- talloc_destroy(mem_ctx);
+ talloc_free(mem_ctx);
return 0;
}