[fix] memory leak when invoking segment_dll, [fix] bug in parameter.h