Commit c9be38c
committed
fix(vec0): fix remaining memory leaks from PR asg017#258
- vec_eachFilter: free pzErrMsg on error to prevent leak
- vec_slice: use goto done instead of return in INT8 and BIT cases
to ensure vector cleanup is called on malloc failure
These were the last 3 unfixed memory leaks from upstream PR asg017#258.
The other 4 issues from that PR were already addressed in previous commits.
Upstream-PR: asg017#2581 parent 53aeaeb commit c9be38c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
1790 | | - | |
| 1790 | + | |
1791 | 1791 | | |
1792 | 1792 | | |
1793 | 1793 | | |
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
1813 | | - | |
| 1813 | + | |
1814 | 1814 | | |
1815 | 1815 | | |
1816 | 1816 | | |
| |||
2677 | 2677 | | |
2678 | 2678 | | |
2679 | 2679 | | |
| 2680 | + | |
2680 | 2681 | | |
2681 | 2682 | | |
2682 | 2683 | | |
| |||
0 commit comments