Code

use proper unref function on SPRoot to avoid appearance of leak