mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
ext/gnomevfs/gstgnomevfssrc.c: Fix some minor memory leaks (#336194).
Original commit message from CVS: Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com> * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_finalize), (gst_gnome_vfs_src_get_icy_metadata): Fix some minor memory leaks (#336194).
This commit is contained in:
parent
e5e5e53f07
commit
abecdb73b3
2 changed files with 23 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-03-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
|
||||
|
||||
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_finalize),
|
||||
(gst_gnome_vfs_src_get_icy_metadata):
|
||||
Fix some minor memory leaks (#336194).
|
||||
|
||||
2006-03-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/gnomevfs/gstgnomevfs.c:
|
||||
|
|
|
@ -314,10 +314,20 @@ gst_gnome_vfs_src_finalize (GObject * object)
|
|||
src->uri = NULL;
|
||||
}
|
||||
|
||||
if (src->uri_name) {
|
||||
g_free (src->uri_name);
|
||||
src->uri_name = NULL;
|
||||
}
|
||||
g_free (src->uri_name);
|
||||
src->uri_name = NULL;
|
||||
|
||||
g_free (src->iradio_name);
|
||||
src->iradio_name = NULL;
|
||||
|
||||
g_free (src->iradio_genre);
|
||||
src->iradio_genre = NULL;
|
||||
|
||||
g_free (src->iradio_url);
|
||||
src->iradio_url = NULL;
|
||||
|
||||
g_free (src->iradio_title);
|
||||
src->iradio_title = NULL;
|
||||
|
||||
g_mutex_free (src->audiocast_udpdata_mutex);
|
||||
g_mutex_free (src->audiocast_queue_mutex);
|
||||
|
@ -933,6 +943,7 @@ gst_gnome_vfs_src_get_icy_metadata (GstGnomeVFSSrc * src)
|
|||
}
|
||||
|
||||
g_strfreev (tags);
|
||||
g_free (data);
|
||||
}
|
||||
|
||||
/* end of icecast/audiocast metadata extraction support code */
|
||||
|
|
Loading…
Reference in a new issue