Fix a double-free crash when running gst-inspect against certain plug-ins.

Reported by:	bland
This commit is contained in:
Joe Marcus Clarke 2004-06-30 05:51:43 +00:00
parent 60eebf1e90
commit aca4adbe99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112581
4 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gstreamer PORTNAME= gstreamer
PORTVERSION= 0.8.3 PORTVERSION= 0.8.3
PORTREVISION= 1
CATEGORIES= multimedia CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GNOME} \ MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gstreamer/ http://gstreamer.freedesktop.org/src/gstreamer/

View File

@ -0,0 +1,10 @@
--- tools/gst-inspect.c.orig Wed Jun 30 01:48:58 2004
+++ tools/gst-inspect.c Wed Jun 30 01:49:18 2004
@@ -799,7 +799,6 @@
g_free (query);
if (found_signals) {
- g_slist_foreach (found_signals, (GFunc) g_free, NULL);
g_slist_free (found_signals);
}
}

View File

@ -7,6 +7,7 @@
PORTNAME= gstreamer PORTNAME= gstreamer
PORTVERSION= 0.8.3 PORTVERSION= 0.8.3
PORTREVISION= 1
CATEGORIES= multimedia CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GNOME} \ MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gstreamer/ http://gstreamer.freedesktop.org/src/gstreamer/

View File

@ -0,0 +1,10 @@
--- tools/gst-inspect.c.orig Wed Jun 30 01:48:58 2004
+++ tools/gst-inspect.c Wed Jun 30 01:49:18 2004
@@ -799,7 +799,6 @@
g_free (query);
if (found_signals) {
- g_slist_foreach (found_signals, (GFunc) g_free, NULL);
g_slist_free (found_signals);
}
}