MONGOC_AUTO_E...N_OPTS_DESTROY(3)
π MONGOC_AUTO_E...N_OPTS_DESTROY π
okay bestie so real talk, we're in the libmongoc girlies' club and today's main character is mongoc_auto_encryption_opts_destroy from the MONGOC_AUTO_E...N_OPTS_DESTROY(3) section β yes the title got truncated by the terminal like a bad text preview but she's still iconic β¨
πΈ SYNOPSIS πΈ
void
mongoc_auto_encryption_opts_destroy (mongoc_auto_encryption_opts_t *opts);
it's giving cleanup era π
β this one's a void function, so she takes her arg, does her thing, and does not hand you anything back. no return value, no drama.
π¦ DESCRIPTION π¦
slay, so what does this actually do? it destroys a mongoc_auto_encryption_opts_t. that's it. that's the whole vibe. you built one, you used it, and now you're breaking up with it β lowkey the healthiest thing you can do for your memory management fr fr π«Ά
π PARAMETERS π
optsβ themongoc_auto_encryption_opts_tyou're about to destroy. this is youropts, and she's about to be gone, so likeβ¦ make sure you're done with her first π
β¨ SEE ALSO β¨
mongoc_auto_encryption_opts_new()- In-Use Encryption
π AUTHOR π
MongoDB, Inc β periodt π
π COPYRIGHT π
copyright 2009-present, MongoDB, Inc. β they've been holding it down since 2009, no cap π₯
so yeah, that's the whole page bestie π§π go forth and destroy responsibly, and remember: every _new() deserves a _destroy() in its life. iykyk π
β with love, from the libmongoc docs, version 2.5.6, dated Oct 09, 2026 ππ¦πΈ
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms