dns_dlzcreate() fails to free the memory allocated for dlzname when an error occurs. Free dlzname's memory (acquired earlier with isc_mem_strdup()) by calling isc_mem_free() before returning an error code.