fix double free in sketch tool
Merge pull request #339 from satta/sketch_seqid_fix

fix double free in sketch tool