[anjuta/gnome-2-30] subversion: Plug some leaks in the log command
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gnome-2-30] subversion: Plug some leaks in the log command
- Date: Sun, 18 Apr 2010 03:19:31 +0000 (UTC)
commit 4a2d8ea512bef537608d22bc77a7973e03e434e6
Author: James Liggett <jrliggett cox net>
Date: Sat Apr 17 17:38:22 2010 -0700
subversion: Plug some leaks in the log command
Free the entry's author name and date after the log entry has been constructed
plugins/subversion/svn-log-command.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/subversion/svn-log-command.c b/plugins/subversion/svn-log-command.c
index c380415..b4a5d44 100644
--- a/plugins/subversion/svn-log-command.c
+++ b/plugins/subversion/svn-log-command.c
@@ -106,6 +106,9 @@ log_callback (void *baton,
log_entry = svn_log_entry_new (entry_author, entry_date, revision,
entry_message);
+
+ g_free (entry_author);
+ g_free (entry_date);
anjuta_async_command_lock (ANJUTA_ASYNC_COMMAND (self));
g_queue_push_head (self->priv->log_entry_queue, log_entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]