[retro-gtk/gnome-3-26] core: Fix a memory leaks in destructor
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/gnome-3-26] core: Fix a memory leaks in destructor
- Date: Wed, 27 Sep 2017 09:21:22 +0000 (UTC)
commit 1cecca2b5c9e905f5900378380fa14cc11cdb7e8
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Sep 27 11:20:51 2017 +0200
core: Fix a memory leaks in destructor
retro-gtk/retro-core.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index d925c85..953f404 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -695,6 +695,8 @@ retro_core_destructor (RetroCore *self)
if (internal->media_uris != NULL)
g_strfreev (internal->media_uris);
+ g_object_unref (internal->module);
+
g_free (self->environment_internal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]