CCBC-376: cJSON: fix memleak
CCBC-376: cJSON: fix memleak

Change-Id: I2ce43a4c21a865669008f6c1a609fec9c55f2d76
Reviewed-on: http://review.couchbase.org/36081
Reviewed-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
(cherry picked from commit 77a1140c229397cb125b87798cf98feb7086fed6)
Reviewed-on: http://review.couchbase.org/36235

PureSwift/libcouchbase,mnunberg/libcouchbase,senthilkumaranb/libcouchbase,avsej/libcouchbase,signmotion/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,mnunberg/libcouchbase,mody/libcouchbase,maxim-ky/libcouchbase,senthilkumaranb/libcouchbase,PureSwift/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,senthilkumaranb/libcouchbase,maxim-ky/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,mnunberg/libcouchbase,signmotion/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,kojiromike/libcouchbase,maxim-ky/libcouchbase,couchbase/libcouchbase,mnunberg/libcouchbase,senthilkumaranb/libcouchbase