[nautilus] previewer: Fix leaked GError
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] previewer: Fix leaked GError
- Date: Fri, 2 Sep 2011 16:22:29 +0000 (UTC)
commit af0022fc388a587726f1186bbe131c666e4d50a3
Author: Tomas Bzatek <tbzatek redhat com>
Date: Fri Sep 2 18:21:58 2011 +0200
previewer: Fix leaked GError
src/nautilus-previewer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-previewer.c b/src/nautilus-previewer.c
index 742e083..3f53fce 100644
--- a/src/nautilus-previewer.c
+++ b/src/nautilus-previewer.c
@@ -84,6 +84,7 @@ nautilus_previewer_init (NautilusPreviewer *self)
if (error != NULL) {
g_printerr ("Unable to initialize DBus connection: %s", error->message);
+ g_error_free (error);
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]