Fix memory leak in update_gbt_solo
Fix off by one malloc size error