cleaned up memory leaks in based3dshader and service provider