Avoid malloc(0).

--HG--
branch : HEAD
7 files changed