evanpacini / netpbm-c

Some headers and experiments with netpbm and C.
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

refactor: check all the mallocs and callocs #18

Closed evanpacini closed 1 year ago

evanpacini commented 1 year ago

I remember using malloc and calloc in different places for some specific reason. However, I am unsure whether the implementation would still require it. Also, I used calloc with 1 as one of the parameters, which is not intended.