Closed hippowar closed 9 years ago
Hi,
Memory-leak in MongoBson.pas. TBson.value(name: string): variant; var i : TBsonIterator; begin i := find(name); if i = nil then Result := Null else begin Result := i.value; // Here, i (TBsonIterator) need free. i.Free; end; end;
i updated the repo to reflect your change. Thanks for your input.
Hi,
Memory-leak in MongoBson.pas. TBson.value(name: string): variant; var i : TBsonIterator; begin i := find(name); if i = nil then Result := Null else begin Result := i.value; // Here, i (TBsonIterator) need free. i.Free; end; end;