anand76 c5f52714fb Use malloc in rocksdb_transaction_get_snapshot (#8114)
Summary:
The snapshot structure returned by rocksdb_transaction_get_snapshot is
supposed to be freed by calling rocksdb_free(), so allocate using malloc
rather than new. Fixes https://github.com/facebook/rocksdb/issues/6112

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8114

Reviewed By: akankshamahajan15

Differential Revision: D27362923

Pulled By: anand1976

fbshipit-source-id: e93a8b1ffe26dafbe22529907f72b796ae971214
2021-03-26 15:51:34 -07:00
..
2021-03-25 21:18:08 -07:00
2021-03-09 20:44:23 -08:00
2020-06-15 10:47:02 -07:00
2021-03-25 21:18:08 -07:00
2021-03-25 21:18:08 -07:00
2021-03-18 09:47:31 -07:00
2021-03-25 21:18:08 -07:00
2020-12-23 16:55:53 -08:00
2021-03-25 21:18:08 -07:00
2020-12-09 16:02:12 -08:00