We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source code is
// Construct a write batch: leveldb::WriteBatch* batch = new leveldb::WriteBatch; // Seed the batch's data: ERL_NIF_TERM result = fold(env, argv[2], write_batch_item, *batch); if(eleveldb::ATOM_OK != result) { return send_reply(env, caller_ref, enif_make_tuple3(env, eleveldb::ATOM_ERROR, caller_ref, enif_make_tuple2(env, eleveldb::ATOM_BAD_WRITE_ACTION, result))); } // if
The text was updated successfully, but these errors were encountered:
Agreed.
Sorry, something went wrong.
The leak would be due to batch never being freed?
batch
No clue why this was never closed. Fix is present in code. See
d595ae3
Batch is now freed in error handling.
oh, cool - I hadn't seen that, only checked this bug was present in our version. Thanks!
No branches or pull requests
Source code is
The text was updated successfully, but these errors were encountered: