Replace 0 with NULL because struct pointer is set NULL in.
Merge pull request #1380 from suzukaze/refactor-pool.c

Replace 0 with NULL because struct pointer is set NULL in.