We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b5248 commit 5ce6387Copy full SHA for 5ce6387
src/libmongoc/src/mongoc/mongoc-client.c
@@ -440,7 +440,7 @@ _mongoc_get_rr_search (const char *service,
440
441
do {
442
if (search_buf) {
443
- free (search_buf);
+ bson_free (search_buf);
444
445
/* increase buffer size by the previous response size. This ensures
446
* that even if a subsequent response is larger, we'll still be able
@@ -517,7 +517,7 @@ _mongoc_get_rr_search (const char *service,
517
518
done:
519
520
521
522
#ifdef MONGOC_HAVE_RES_NDESTROY
523
/* defined on BSD/Darwin, and only if MONGOC_HAVE_RES_NSEARCH is defined */
0 commit comments