mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: report: fix invalid read when destroying Report
@report was invalid when we were trying to clear the mutex.
This commit is contained in:
parent
08a9034576
commit
7aa5f85ccd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue