From 9ae3e03e0c3088d8811af53dd9c3ea61ec79b670 Mon Sep 17 00:00:00 2001 From: Dan Breslau Date: Mon, 15 Aug 2016 19:23:28 -0400 Subject: [PATCH] Fixed memory leaks --- libmoonshot/libmoonshot-dbus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmoonshot/libmoonshot-dbus.c b/libmoonshot/libmoonshot-dbus.c index 84f8975..e7c4b51 100644 --- a/libmoonshot/libmoonshot-dbus.c +++ b/libmoonshot/libmoonshot-dbus.c @@ -435,6 +435,9 @@ int moonshot_install_id_card (const char *display_name, G_TYPE_INVALID); g_object_unref (dbus_proxy); + g_free(rules_patterns_strv); + g_free(rules_always_confirm_strv); + g_free(services_strv); if (g_error != NULL) { *error = moonshot_error_new (MOONSHOT_ERROR_IPC_ERROR, -- 2.1.4