public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] runner: Fix a memory leak in stderr_contains_warnings
@ 2022-11-11  8:05 Petri Latvala
  2022-11-11  8:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Petri Latvala @ 2022-11-11  8:05 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

The matches object's internals weren't released.

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arek@hiler.eu>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 runner/resultgen.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/runner/resultgen.c b/runner/resultgen.c
index 3d753828..21a3ed84 100644
--- a/runner/resultgen.c
+++ b/runner/resultgen.c
@@ -1912,6 +1912,8 @@ static bool stderr_contains_warnings(const char *beg, const char *end)
 		i++;
 	}
 
+	free_matches(&matches);
+
 	return false;
 }
 
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-14 20:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11  8:05 [igt-dev] [PATCH i-g-t] runner: Fix a memory leak in stderr_contains_warnings Petri Latvala
2022-11-11  8:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-11-12  2:43 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-11-14 12:52 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2022-11-14 14:03 ` Kamil Konieczny
2022-11-14 14:06   ` Petri Latvala
2022-11-14 14:10 ` [igt-dev] [PATCH i-g-t v2] " Petri Latvala
2022-11-14 15:18 ` [igt-dev] ✓ Fi.CI.BAT: success for runner: Fix a memory leak in stderr_contains_warnings (rev2) Patchwork
2022-11-14 20:50 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox