Use specified macro(NULL) instead of magic-number.
Merge pull request #2545 from cubicdaiya/issues/use_null_insteadof_zero

Use specified macro(NULL) instead of magic-number.