mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
controller: fix assertion when freeing the control source
This commit is contained in:
parent
fd76e4fc93
commit
6784355d52
1 changed files with 4 additions and 2 deletions
|
@ -594,8 +594,10 @@ gst_interpolation_control_source_unset_all (GstInterpolationControlSource *
|
|||
|
||||
g_mutex_lock (self->lock);
|
||||
/* free GstControlPoint structures */
|
||||
g_sequence_free (self->priv->values);
|
||||
self->priv->values = NULL;
|
||||
if (self->priv->values) {
|
||||
g_sequence_free (self->priv->values);
|
||||
self->priv->values = NULL;
|
||||
}
|
||||
self->priv->nvalues = 0;
|
||||
self->priv->valid_cache = FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue