From f98a10e5d02bd1b538cea1b05737314383d7fc7a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 27 Dec 2003 14:09:51 +0000 Subject: [PATCH] set freed caps to NULL Original commit message from CVS: set freed caps to NULL --- gst/gstpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstpad.c b/gst/gstpad.c index 4acbfd687b..bfee301f8e 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1837,6 +1837,7 @@ gst_pad_link_unnegotiate (GstPadLink *link) { if (link->caps) { gst_caps_free (link->caps); + link->caps = NULL; if (GST_RPAD_LINK (link->srcpad) != link) { g_warning ("unnegotiating unset link"); } else {