diff options
| author | grischka <grischka> | 2016-11-11 18:29:45 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2016-11-11 18:29:45 +0100 |
| commit | 7c28c9b13f7c924c18920b51f42b1119c3b1e2ee (patch) | |
| tree | e806c9b80c58575369d39e21aa1c3e7d1d224896 /tcc.h | |
| parent | 7e7f2e5d1b40231f56fb1153a2831a216396a2ac (diff) | |
| download | tinycc-7c28c9b13f7c924c18920b51f42b1119c3b1e2ee.tar.gz tinycc-7c28c9b13f7c924c18920b51f42b1119c3b1e2ee.tar.bz2 | |
tccgen: inline_functions double free fix
Fix double free of the inline function token_string which
could happen when an error/longjmp occurred while compiling
the inline function.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -532,7 +532,7 @@ typedef struct TokenString { /* inline functions */ typedef struct InlineFunc { - TokenString func_str; + TokenString *func_str; Sym *sym; char filename[1]; } InlineFunc; |
