mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-06-08 08:13:55 +00:00
Do not return a dangling pointer!
This commit is contained in:
@@ -437,7 +437,7 @@ const char **InPlaceParser::GetArglist(char *line, int &count) // convert sourc
|
||||
{
|
||||
const char **ret = 0;
|
||||
|
||||
const char *argv[MAXARGS];
|
||||
static const char *argv[MAXARGS];
|
||||
int argc = 0;
|
||||
|
||||
char *foo = line;
|
||||
|
||||
Reference in New Issue
Block a user