report: Set refcount=1 when creating a report
As it should start with 1 reference, not 0
This commit is contained in:
parent
f8b4235e33
commit
182f4e9a41
@ -318,6 +318,7 @@ gst_validate_report_new (GstValidateIssue * issue,
|
||||
{
|
||||
GstValidateReport *report = g_slice_new0 (GstValidateReport);
|
||||
|
||||
report->refcount = 1;
|
||||
report->issue = issue;
|
||||
report->reporter = reporter; /* TODO should we ref? */
|
||||
report->message = g_strdup (message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user