Free memory leaks in the browser setup code.