[gitg] Fix memory leak.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix memory leak.
- Date: Wed, 9 Feb 2011 10:30:39 +0000 (UTC)
commit 73e432f1f12c946e2ab8bab9c4ffa721e28bd5f7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Feb 9 11:31:56 2011 +0100
Fix memory leak.
gitg/gitg-repository-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-repository-dialog.c b/gitg/gitg-repository-dialog.c
index 41788c2..f4f89e5 100644
--- a/gitg/gitg-repository-dialog.c
+++ b/gitg/gitg-repository-dialog.c
@@ -179,7 +179,7 @@ gitg_repository_dialog_finalize (GObject *object)
}
g_list_free (copy);
- g_list_foreach (dialog->priv->fetchers, (GFunc)fetch_cleanup, NULL);
+ g_list_free (dialog->priv->fetchers);
G_OBJECT_CLASS (gitg_repository_dialog_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]