[sr-dev] git:master:5a1f80f2: xprint: check to avoid double free