0ffd30a090
Perhaps the author meant to check if it is already set and not allocated it again to avoid memory leaks? Anyway make everything const back and delete the unused code. Yes, this leaks the same way as before but it is insignificant. If we want to save memory we could use bytes or even bits instead of ints, and not allocate/initialize the same thing multiple times. |
||
---|---|---|
.. | ||
extern.h | ||
Makefile | ||
str.c | ||
tr.1 | ||
tr.c |