Add include for free()

Change-Id: Ia29e3bf240659982fdd0109c230afe25d6e4fd77
Reviewed-on: http://review.couchbase.org/23958
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>