Add memory-leak-fix patch