nsqd: memory leaks

This fixes two (potential) memory leaks.

see commit comments

ready @jehiah