Commit 20339d3
Fix resource leak: close staging Rows in execStagingOperation
execStagingOperation creates a Rows object via rows.NewRows() to read
staging operation metadata but never closes it. This leaks the Rows
object and its RowScanner resources until GC collects them. Add
defer row.Close() to ensure proper cleanup.
Related: #275
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cd6dc19 commit 20339d3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| |||
0 commit comments