From 27992a3548ed679cf559472a51737b03731c4227 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:09:47 -0400 Subject: Fix potential memory leak --- tests/ingen_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ingen_test.cpp') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index ff61d7db..8a3d9007 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -184,6 +184,7 @@ run(int argc, char** argv) #endif if (!atom_reader.write(forge.atom(), n_events + 1)) { + delete cmds; return EXIT_FAILURE; } -- cgit v1.2.1