Fix double free in set_otherinfo