Fix CID 1205216

name can not be NULL, and even if it would, it';s ok to free() it anyway,