Skip to content

Commit 537571b

Browse files
authored
Delete TRITONSERVER_Error (triton-inference-server#345)
1 parent 8917c86 commit 537571b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/python_be.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ ModelInstanceState::SaveRequestsToSharedMemory(
369369
auto error =
370370
TRITONBACKEND_RequestCorrelationId(request, &correlation_id_uint);
371371
if (error != nullptr) {
372+
TRITONSERVER_ErrorDelete(error);
372373
const char* correlation_id_string = "";
373374
RETURN_IF_ERROR(TRITONBACKEND_RequestCorrelationIdString(
374375
request, &correlation_id_string));

0 commit comments

Comments
 (0)