[sr-dev] git:master:366104d2: seas: avoid double free and leak