Initialize deferred_symlinks pointer correctly.

Use calloc() in place of malloc() in several places.