Fix "Optimize cstr_reset() to only reset string to empty"
This fixes commit 8eb92e6052
Remove memory leak.
This commit is contained in:
parent
2358b378b3
commit
0a8c7d143e
1 changed files with 1 additions and 1 deletions
2
tccpp.c
2
tccpp.c
|
@ -2857,7 +2857,7 @@ static inline int *macro_twosharps(const int *macro_str)
|
|||
n, cstr.data, (char*)cstr.data + n);
|
||||
}
|
||||
tcc_close();
|
||||
cstr_reset(&cstr);
|
||||
cstr_free(&cstr);
|
||||
}
|
||||
}
|
||||
if (tok != TOK_NOSUBST)
|
||||
|
|
Loading…
Reference in a new issue