Fix global leak for 'code'