Skip to content

Commit 60f5569

Browse files
committed
CDRIVER-1026: Memory leak on get_more using 3.2 commands
1 parent 35708dd commit 60f5569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongoc/mongoc-cursor-cursorid.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ _mongoc_cursor_cursorid_get_more (mongoc_cursor_t *cursor)
201201
cid->in_reader = ret;
202202
}
203203

204+
mongoc_server_stream_cleanup (server_stream);
204205
RETURN (ret);
205206
}
206207

0 commit comments

Comments
 (0)