diff --git a/validate/gst/validate/gst-validate-report.c b/validate/gst/validate/gst-validate-report.c index 5b5fa5791f..66326e1c5b 100644 --- a/validate/gst/validate/gst-validate-report.c +++ b/validate/gst/validate/gst-validate-report.c @@ -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);