Free memory on each execute call