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 β€” the mongoc_auto_encryption_opts_t you're about to destroy. this is your opts, 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 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