mirror of
https://github.com/pret/pokecrystal.git
synced 2026-09-29 14:01:08 -04:00
80888726b9
malloc can always fail. Check to avoid null dereference. malloc(0) is well defined but leads to an eventual crash on some systems. Check it too.