Commit 9905d57
authored
[CRITICAL BUG] Fix sample result destructor (hotfix) (rapidsai#5306)
Addresses a severe memory leak in sampling caused by a bug in the C API.
The destructor for the sample result object was not properly updated to
cover additional fields that were added later. This resulted in these
fields never being cleaned up, and eventually to an OOM error.1 parent a55efd2 commit 9905d57
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| 546 | + | |
546 | 547 | | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
551 | 552 | | |
| 553 | + | |
| 554 | + | |
552 | 555 | | |
553 | 556 | | |
| 557 | + | |
554 | 558 | | |
555 | 559 | | |
556 | 560 | | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
557 | 564 | | |
558 | 565 | | |
0 commit comments