[gitg/gtk3] Do not leak the MarkAttributes.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/gtk3] Do not leak the MarkAttributes.
- Date: Tue, 8 Feb 2011 17:53:59 +0000 (UTC)
commit be5a7bd828747d3e179da5d51cf516c6bd672ac5
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Feb 8 18:55:08 2011 +0100
Do not leak the MarkAttributes.
gitg/gitg-commit-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-commit-view.c b/gitg/gitg-commit-view.c
index ccdc18c..d095e99 100644
--- a/gitg/gitg-commit-view.c
+++ b/gitg/gitg-commit-view.c
@@ -1440,6 +1440,7 @@ gitg_commit_view_parser_finished(GtkBuildable *buildable, GtkBuilder *builder)
attrs, 1);
g_object_unref (pixbuf);
+ g_object_unref (attrs);
}
pixbuf = gtk_icon_theme_load_icon(theme, GTK_STOCK_REMOVE, 12, GTK_ICON_LOOKUP_USE_BUILTIN, NULL);
@@ -1454,6 +1455,7 @@ gitg_commit_view_parser_finished(GtkBuildable *buildable, GtkBuilder *builder)
attrs, 2);
g_object_unref (pixbuf);
+ g_object_unref (attrs);
}
gitg_utils_set_monospace_font(GTK_WIDGET(self->priv->changes_view));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]