remove useless conditional before free from dynamic linker path code