fix SetOption scc ltr_ref_num casued memory leak issue.
Merge pull request #966 from lyao2/scc_ltr_num_setoption

fix SetOption scc ltr_ref_num casued memory leak issue.