Skip to content

Commit

Permalink
Deregister heap in device finalization
Browse files Browse the repository at this point in the history
JiakunYan committed Jun 9, 2024
1 parent b47b07f commit 917e4ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lci/runtime/device.c
Original file line number Diff line number Diff line change
@@ -88,6 +88,7 @@ LCI_error_t LCI_device_free(LCI_device_t* device_ptr)
device->heap->total_recv_posted +=
LCII_endpoint_get_recv_posted(device->endpoint_progress);
}
LCI_memory_deregister(&device->heap_segment);
LCII_matchtable_free(&device->mt);
LCM_archive_fini(&(device->ctx_archive));
LCII_bq_fini(&device->bq);

0 comments on commit 917e4ac

Please sign in to comment.