Fixed an allocation error in bdgr_record_data() that would sometimes free record data before it was used.
Merge branch 'master' of github.com:johnoliverdriscoll/badger