[sr-dev] git:master:c8217350: lost: clean allocated memory also for length 0