[sgen] Remove useless internal allocation