[calls] dummy: origin: Fix memory leaks



commit a8de63f83861d1c0e53cb254d2fadfaeb2acb8e9
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Thu Jan 27 16:35:34 2022 +0100

    dummy: origin: Fix memory leaks

 plugins/dummy/calls-dummy-origin.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/dummy/calls-dummy-origin.c b/plugins/dummy/calls-dummy-origin.c
index 2346f1ce..6027f20c 100644
--- a/plugins/dummy/calls-dummy-origin.c
+++ b/plugins/dummy/calls-dummy-origin.c
@@ -235,6 +235,7 @@ finalize (GObject *object)
   CallsDummyOrigin *self = CALLS_DUMMY_ORIGIN (object);
 
   g_string_free (self->name, TRUE);
+  g_list_free (self->calls);
 
   G_OBJECT_CLASS (calls_dummy_origin_parent_class)->finalize (object);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]