[sr-dev] git:master: core: fix end-script commands in expr. leaks