From 737328696877fd4c1193bca46cba1ebe0ad193a3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 20 Mar 2015 11:23:29 +0100 Subject: [PATCH] validate: report: fix GStrv leak We borrow the content of the GStrv but were leaking the array itself. --- validate/gst/validate/gst-validate-report.c | 1 + 1 file changed, 1 insertion(+) diff --git a/validate/gst/validate/gst-validate-report.c b/validate/gst/validate/gst-validate-report.c index 9319cb9e67..0bd10a52c7 100644 --- a/validate/gst/validate/gst-validate-report.c +++ b/validate/gst/validate/gst-validate-report.c @@ -125,6 +125,7 @@ gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary, issue->area = area_name[0]; issue->name = area_name[1]; + g_free (area_name); return issue; }