validate: report: fix invalid read when destroying Report

@report was invalid when we were trying to clear the mutex.
This commit is contained in:
Guillaume Desmottes 2015-03-20 14:49:24 +01:00
parent 08a9034576
commit 7aa5f85ccd

View file

@ -517,8 +517,8 @@ gst_validate_report_unref (GstValidateReport * report)
(GDestroyNotify) gst_validate_report_unref);
g_list_free_full (report->repeated_reports,
(GDestroyNotify) gst_validate_report_unref);
g_slice_free (GstValidateReport, report);
g_mutex_clear (&report->shadow_reports_lock);
g_slice_free (GstValidateReport, report);
}
}