[sr-dev] git:master: exec: free local variable if there is no more memory in next attempt