8000 fixed crash · lethalbrains/arangodb@fb723c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb723c3

Browse files
committed
fixed crash
1 parent 94c2f4c commit fb723c3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

arangod/Aql/CalculationBlock.cpp

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,10 @@ void CalculationBlock::fillBlockWithReference(AqlItemBlock* result) {
9090
// care of correct freeing:
9191
auto a = result->getValueReference(i, _inRegs[0]);
9292

93-
try {
94-
TRI_IF_FAILURE("CalculationBlock::fillBlockWithReference") {
95-
THROW_ARANGO_EXCEPTION(TRI_ERROR_DEBUG);
96-
}
97-
result->setValue(i, _outReg, a);
98-
} catch (...) {
99-
a.destroy();
100-
throw;
93+
TRI_IF_FAILURE("CalculationBlock::fillBlockWithReference") {
94+
THROW_ARANGO_EXCEPTION(TRI_ERROR_DEBUG);
10195
}
96+
result->setValue(i, _outReg, a);
10297
}
10398
}
10499

0 commit comments

Comments
 (0)
0