diff options
| author | mingodad <mingodad@gmail.com> | 2014-03-28 20:25:39 +0000 |
|---|---|---|
| committer | mingodad <mingodad@gmail.com> | 2014-03-28 20:25:39 +0000 |
| commit | 700c2f769bd5e49a2a7e93119a6ad51d704d857d (patch) | |
| tree | 4e50cf0e79303a0942e360967175acf1678a6717 /libtcc.c | |
| parent | 0ba7c8670c0ed178b857245609f5030d63ef2191 (diff) | |
| download | tinycc-700c2f769bd5e49a2a7e93119a6ad51d704d857d.tar.gz tinycc-700c2f769bd5e49a2a7e93119a6ad51d704d857d.tar.bz2 | |
Remove the fix from my last commit, it was pointed by scan-build and is a false positive, thanks to grischka for pointing it.
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type, int sh { Section *sec; - sec = tcc_mallocz(sizeof(Section) + strlen(name)+1); + sec = tcc_mallocz(sizeof(Section) + strlen(name)); strcpy(sec->name, name); sec->sh_type = sh_type; sec->sh_flags = sh_flags; |
