From bf869f6961de47e44f23a5a57cea8d7ad9d941c0 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 24 Apr 2022 15:26:26 +0200 Subject: [PATCH] Fix memory leak in test driver program Teeny tiny --- test/gfx/rgbgfx_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/gfx/rgbgfx_test.cpp b/test/gfx/rgbgfx_test.cpp index 112f98c8..04098c56 100644 --- a/test/gfx/rgbgfx_test.cpp +++ b/test/gfx/rgbgfx_test.cpp @@ -308,6 +308,8 @@ int main(int argc, char **argv) { fatal("Failed to excute ./randtilegen (%s). Is it in the current working directory?", strerror(ret)); } + + posix_spawn_file_actions_destroy(&action); } {