mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 03:22:08 +00:00
Fix use-after-free with include in linker scripts
Fixes #510, and further proves that you *really* should not entrust memory ownership management to humans :P
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "version.h"
|
||||
|
||||
bool isDmgMode; /* -d */
|
||||
char const *linkerScriptName; /* -l */
|
||||
char *linkerScriptName; /* -l */
|
||||
char const *mapFileName; /* -m */
|
||||
char const *symFileName; /* -n */
|
||||
char const *overlayFileName; /* -O */
|
||||
|
||||
Reference in New Issue
Block a user