[giggle] Free context
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Free context
- Date: Thu, 18 Mar 2010 19:50:33 +0000 (UTC)
commit 95275c6e2d3044b1abe856678759f9902363313e
Author: Guilhem Bonnefille <guilhem bonnefille gmail com>
Date: Thu Mar 19 22:21:19 2009 +0100
Free context
It is not really necessary as it is allocated only once,
but can help to keep memleak reports as clean as possible.
src/giggle-main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/giggle-main.c b/src/giggle-main.c
index f7d16ef..8f6dc5a 100644
--- a/src/giggle-main.c
+++ b/src/giggle-main.c
@@ -86,6 +86,8 @@ main (int argc,
goto end;
}
+ /* Freing memory */
+ g_option_context_free (context);
gtk_icon_theme_prepend_search_path (gtk_icon_theme_get_default (), ICONDIR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]