projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a710fbc
)
rtpmanagerbad: fix two minor memory leaks
author
Marc Leeman
<m.leeman@televic.com>
Wed, 19 Feb 2020 16:07:35 +0000
(17:07 +0100)
committer
Marc Leeman
<m.leeman@televic.com>
Fri, 21 Feb 2020 11:16:28 +0000
(12:16 +0100)
gst/rtp/gstrtpsink.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpsink.c
b/gst/rtp/gstrtpsink.c
index
09f3cde
..
fb344d2
100644
(file)
--- a/
gst/rtp/gstrtpsink.c
+++ b/
gst/rtp/gstrtpsink.c
@@
-487,6
+487,7
@@
gst_rtp_sink_start (GstRtpSink * self)
g_object_set (self->rtcp_src, "address", any_addr, "port", 0, NULL);
}
+ g_free (remote_addr);
g_object_unref (iaddr);
gst_element_set_locked_state (self->rtcp_src, FALSE);
@@
-508,6
+509,7
@@
dns_resolve_failed:
("Could not resolve hostname '%s'", GST_STR_NULL (remote_addr)),
("DNS resolver reported: %s", error->message));
g_free (remote_addr);
+ g_object_unref (iaddr);
g_error_free (error);
return FALSE;
}