[gnome-network-displays/cc-tmp: 74/80] cc: free up resources in nd-cc-sink
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-network-displays/cc-tmp: 74/80] cc: free up resources in nd-cc-sink
- Date: Fri, 9 Sep 2022 12:03:52 +0000 (UTC)
commit 51a81297e30c362fbe7f378f324429d66cb699a5
Author: Anupam Kumar <kyteinsky gmail com>
Date: Tue Sep 6 18:39:13 2022 +0530
cc: free up resources in nd-cc-sink
src/nd-cc-sink.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/nd-cc-sink.c b/src/nd-cc-sink.c
index ab38bac..c7e2b04 100644
--- a/src/nd-cc-sink.c
+++ b/src/nd-cc-sink.c
@@ -179,13 +179,15 @@ nd_cc_sink_finalize (GObject *object)
nd_cc_sink_sink_stop_stream_int (sink);
- g_cancellable_cancel (sink->cancellable);
- g_clear_object (&sink->cancellable);
-
g_clear_pointer (&sink->missing_video_codec, g_strfreev);
g_clear_pointer (&sink->missing_audio_codec, g_strfreev);
g_clear_pointer (&sink->missing_firewall_zone, g_free);
+ g_clear_pointer (&sink->remote_address, g_free);
+ g_clear_pointer (&sink->remote_name, g_free);
+
+ g_clear_object (&sink->comm_client);
+
G_OBJECT_CLASS (nd_cc_sink_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]