fixed memory leak in generic url panel