mirror of https://gitee.com/bigwinds/arangodb
Fix double delete bug.
This commit is contained in:
parent
67d71cb6bf
commit
566c94be95
|
@ -1010,11 +1010,8 @@ static v8::Handle<v8::Value> JS_ShardingTest (v8::Arguments const& argv) {
|
|||
|
||||
}
|
||||
}
|
||||
delete headerFields;
|
||||
|
||||
if (0 != res) {
|
||||
delete res;
|
||||
}
|
||||
delete res;
|
||||
|
||||
return scope.Close(r);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue