memory leak fix and inclusion of closedir call
memory leak fix and inclusion of closedir call

BayshoreNetworks/yextend,BayshoreNetworks/yextend,BayshoreNetworks/yextend,BayshoreNetworks/yextend,BayshoreNetworks/yextend