Fix leak in make-te
This doesn't really matter but it shuts up AddressSanitizer
This commit is contained in:
parent
95febd978c
commit
14d3a03f41
|
@ -87,9 +87,11 @@ int main(void)
|
||||||
if (i + 1 < max)
|
if (i + 1 < max)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\t%s,\t\t%s,\n", defines[i], defines[i+1]);
|
fprintf(stderr, "\t%s,\t\t%s,\n", defines[i], defines[i+1]);
|
||||||
|
free (defines[i]);
|
||||||
i++;
|
i++;
|
||||||
} else
|
} else
|
||||||
fprintf(stderr, "\t%s,\n", defines[i]);
|
fprintf(stderr, "\t%s,\n", defines[i]);
|
||||||
|
free (defines[i]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "\tNUM_XP\n};\n");
|
fprintf(stderr, "\tNUM_XP\n};\n");
|
||||||
|
|
Loading…
Reference in New Issue