Use reset() instead of delete x.release()
Use reset() instead of delete x.release()

Change-Id: Id96352438a57e2c5e7965df57a62b7a14268e6d1
Reviewed-on: http://review.couchbase.org/88249
Reviewed-by: Sriram Ganesan <fde85c3124eed34938bb85159f430bf7e5b650f6@couchbase.com>
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>

daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine