Fix a small bug where we trying to free NULL-ptr for root tree
Fix a small bug where we trying to free NULL-ptr for root tree

couchbaselabs/couchstore,abhinavdangeti/couchstore,jimwwalker/couchstore,couchbaselabs/couchstore-specials,couchbaselabs/couchstore,vmx/couchstore,abhinavdangeti/couchstore,abhinavdangeti/couchstore,couchbaselabs/couchstore-specials,couchbaselabs/couchstore,hsharsha/couchstore,couchbaselabs/couchstore-specials,couchbaselabs/couchstore-specials,hsharsha/couchstore,t3rm1n4l/couchstore,jimwwalker/couchstore,t3rm1n4l/couchstore,vmx/couchstore,t3rm1n4l/couchstore,jimwwalker/couchstore,vmx/couchstore,couchbaselabs/couchstore-specials,hsharsha/couchstore,hsharsha/couchstore