Why?
The call is actually returning a "fake null" object, so that when you try and use it a custom error message is displayed. This custom error message causes the allocation.
This behaviour is disabled in a build, so you will only ever see it in the editor.