SetLength(glb_IndexConfig,0); FreeAndNil(glb_IndexConfig);
Delphi 如何清除动态数组的内存?
原文:http://www.cnblogs.com/China3S/p/3520918.html