[CDRIVER-270] bson_reinit() should reuse existing malloc'd buffer Created: 06/Jan/14  Updated: 18/Mar/14  Resolved: 06/Jan/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.90.0
Fix Version/s: 0.92.0

Type: Improvement Priority: Minor - P4
Reporter: Christian Hergert Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

To help under situations where malloc is likely, bson_reinit should simply keep the existing buffer around so we don't go through the inline/malloc transition a second time.



 Comments   
Comment by Christian Hergert [ 06/Jan/14 ]

Fixed in 7ccabd23d19512fec409a5f1ff2dda177367abb6.

Generated at Wed Feb 07 21:08:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.