This library makes heavy use of unsafe_wrap and unsafe_string, (see https://github.com/wildart/LMDB.jl/blob/bdc2df64debb30ffc4f43ae0c92107d35de0c8af/src/common.jl#L13) but doesn't seem to ensure that they aren't used on data that comes from Julia. The intention of these functions is that they are used on foreign memory only (since otherwise, you will get a double free when the original and wrapped version both get freed).
This library makes heavy use of
unsafe_wrapandunsafe_string, (see https://github.com/wildart/LMDB.jl/blob/bdc2df64debb30ffc4f43ae0c92107d35de0c8af/src/common.jl#L13) but doesn't seem to ensure that they aren't used on data that comes from Julia. The intention of these functions is that they are used on foreign memory only (since otherwise, you will get a double free when the original and wrapped version both get freed).