Commit f260a11
authored
Fix copyBufferFromSource throwing an exception
If usedBuffers was null and the buffer cache reached its maximum size, copyBufferFromSource would throw a null reference error. This adds a null check to that case to instantiate the usedBuffers list as is done elsewhere in this file.1 parent 781b4f7 commit f260a11
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
| 826 | + | |
| 827 | + | |
830 | 828 | | |
| 829 | + | |
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
| |||
1667 | 1666 | | |
1668 | 1667 | | |
1669 | 1668 | | |
1670 | | - | |
| 1669 | + | |
0 commit comments