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 d841b9e commit 6a40af0Copy full SHA for 6a40af0
src/mongo/scripting/engine_v8.cpp
@@ -54,7 +54,7 @@ namespace mongo {
54
if (!p.IsNearDeath())
55
return;
56
Handle<External> field = Handle<External>::Cast(p->ToObject()->GetInternalField(0));
57
- BSONObj* data = (BSONObj*) field->Value();
+ BSONHolder* data = (BSONHolder*) field->Value();
58
delete data;
59
p.Dispose();
60
}
0 commit comments