[retro-gtk/c-port: 1/39] core: Fix a memory leaks in destructor
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/c-port: 1/39] core: Fix a memory leaks in destructor
- Date: Tue, 26 Sep 2017 09:23:28 +0000 (UTC)
commit 744ea6881a6dba3767857245b87d6fbb6abc25c0
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Sep 25 08:24:40 2017 +0200
core: Fix a memory leaks in destructor
retro-gtk/retro-core.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index 5ff2763..e7a7b77 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -695,6 +695,9 @@ retro_core_destructor (RetroCore *self)
if (internal->media_uris != NULL)
g_strfreev (internal->media_uris);
+ g_object_unref (internal->module);
+ g_object_unref (internal->options);
+
g_free (self->environment_internal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]