Don't deallocate bytes if code injection fails
Fixes bug where injecting code may not work after one bad attempt (eg, syntax error) as long as the code injection window is still open. Doesn't affect scripting.