[gnome-photos/gnome-3-12] print-operation: Plug a memory leak
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-12] print-operation: Plug a memory leak
- Date: Mon, 17 Mar 2014 09:14:09 +0000 (UTC)
commit 5e40b1afa3f88b7294aea3b4ec68829037cb9b0f
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 17 10:08:34 2014 +0100
print-operation: Plug a memory leak
src/photos-print-operation.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-print-operation.c b/src/photos-print-operation.c
index fc83c5b..4238c91 100644
--- a/src/photos-print-operation.c
+++ b/src/photos-print-operation.c
@@ -202,7 +202,9 @@ photos_print_operation_constructed (GObject *object)
g_free (basename);
g_object_unref (file);
}
+
gtk_print_operation_set_job_name (GTK_PRINT_OPERATION (self), name);
+ g_free (name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]