Commit 0fb71622 authored by Christian Hergert's avatar Christian Hergert
Browse files

bson: add bson_clear() macro to free and set to zero a doc ptr.

bson_t *doc = bson_new();
bson_clear(&doc);
assert(doc == NULL);
parent 435581d5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment