[recipes] Don't leak the shell search provider
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Don't leak the shell search provider
- Date: Wed, 18 Jan 2017 17:48:15 +0000 (UTC)
commit a0c4bd44fe84887b5d4d215d1cf53c17e090124f
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 18 07:30:06 2017 -0500
Don't leak the shell search provider
src/gr-app.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-app.c b/src/gr-app.c
index 0ec7e8d..0671504 100644
--- a/src/gr-app.c
+++ b/src/gr-app.c
@@ -49,6 +49,8 @@ gr_app_finalize (GObject *object)
GrApp *self = GR_APP (object);
g_clear_object (&self->store);
+ g_clear_object (&self->search_provider);
+
G_OBJECT_CLASS (gr_app_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]