[anjuta/git-shell] git: Fix various leaks in the commit pane
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/git-shell] git: Fix various leaks in the commit pane
- Date: Thu, 10 Jun 2010 07:05:23 +0000 (UTC)
commit 1d1a11e05731020a86c2bd3cbf1df83c7f25ff7d
Author: James Liggett <jrliggett cox net>
Date: Thu Jun 10 00:03:08 2010 -0700
git: Fix various leaks in the commit pane
plugins/git/git-commit-pane.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/git-commit-pane.c b/plugins/git/git-commit-pane.c
index b9b1648..8de58cd 100644
--- a/plugins/git/git-commit-pane.c
+++ b/plugins/git/git-commit-pane.c
@@ -139,6 +139,11 @@ on_ok_button_clicked (GtkButton *button, GitCommitPane *self)
author_email,
selected_paths);
+ g_free (log);
+ g_free (author_name);
+ g_free (author_email);
+ git_command_free_string_list (selected_paths);
+
git_pane_create_message_view (plugin);
g_signal_connect (G_OBJECT (commit_command), "data-arrived",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]