MONGOC_CLIENT...KEY_RESULT_NEW(3)

πŸŽ€ MONGOC_CLIENT...KEY_RESULT_NEW(3) πŸŽ€

okay bestie, so this is a page from libmongoc (yes, the MongoDB C driver, we stan) and it's honestly a little one β€” but it's important, so pay attention πŸ’…


✨ SYNOPSIS ✨

mongoc_client_encryption_rewrap_many_datakey_result_t *
mongoc_client_encryption_rewrap_many_datakey_result_new (void);

that's it. that's the whole vibe. it takes void β€” no arguments, no drama, no cap 🫢


πŸ’– RETURNS πŸ’–

so the way this works: it hands you back a brand-new mongoc_client_encryption_rewrap_many_datakey_result_t 🌸

but β€” and this is the part where you listen to me β€” you cannot just leave it lying around. that thing must be freed with

mongoc_client_encryption_rewrap_many_datakey_result_destroy()

like, literally must. it's giving "borrowed the car, gotta bring it back" energy 😭 don't be the friend who leaks memory, that's not the main character energy we're going for πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the icons themselves πŸŽ€


2009-present, MongoDB, Inc. β€” yeah, they've been at this a minute. iconic longevity behavior ngl πŸ’œ


and that's the whole page, bestie, you ate that πŸ¦‹

fr fr if you skip the ..._destroy() call I will find out and I will be disappointed πŸ™ˆ

mwah πŸ’‹ β€” this was libmongoc version 2.5.6, dated Oct 09, 2026, signing off ✨

πŸ“¦ where this page comes from