Recent commit abd1faa6 broke passing already existing output decoded structre as sptr. As a result, a new sptr was always allocated, and the old one leaked. Fixes: abd1faa6