Skip to content

Commit 0ed1330

Browse files
committed
CDRIVER-2336 leak in _mongoc_cyrus_set_mechanism
1 parent a3b96e5 commit 0ed1330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-cyrus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ _mongoc_cyrus_set_mechanism (mongoc_cyrus_t *sasl,
6464
str->str);
6565
}
6666

67-
bson_string_free (str, 0);
67+
bson_string_free (str, true);
6868
return ok;
6969
}
7070

0 commit comments

Comments
 (0)