fixed memory leak on vehicle dll