[bijiben] notebook: fix a small leak
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] notebook: fix a small leak
- Date: Wed, 13 Feb 2013 23:50:47 +0000 (UTC)
commit 430106443c89f429c09f93933727ad21101b8ebc
Author: Pierre-Yves Luyten <py luyten fr>
Date: Mon Feb 11 01:15:36 2013 +0100
notebook: fix a small leak
src/libbiji/biji-note-book.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libbiji/biji-note-book.c b/src/libbiji/biji-note-book.c
index c5fc94c..6aef3c9 100644
--- a/src/libbiji/biji-note-book.c
+++ b/src/libbiji/biji-note-book.c
@@ -322,6 +322,7 @@ biji_note_book_constructed (GObject *object)
g_get_application_name (),
NULL);
cache = g_file_new_for_path (filename);
+ g_free (filename);
g_file_make_directory (cache, NULL, NULL);
g_object_unref (cache);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]