shithub: rgbds

Download patch

ref: bf869f6961de47e44f23a5a57cea8d7ad9d941c0
parent: 0f8cbb1faf2e4f58fba319b341a8653861156705
author: ISSOtm <eldredhabert0@gmail.com>
date: Sun Apr 24 11:26:26 EDT 2022

Fix memory leak in test driver program

Teeny tiny

--- a/test/gfx/rgbgfx_test.cpp
+++ b/test/gfx/rgbgfx_test.cpp
@@ -308,6 +308,8 @@
 			fatal("Failed to excute ./randtilegen (%s). Is it in the current working directory?",
 			      strerror(ret));
 		}
+
+		posix_spawn_file_actions_destroy(&action);
 	}
 
 	{