Showing the changes to codec/processing/src/downsample (1 of 1 file). Show all
Unified · Split
| @@ -73,8 +73,11 @@ FREE_RET: · 72 unmodified lines | ||
| 73 | 73 | void CDownsampling::FreeSampleBuffer() { |
| 74 | 74 | for (int32_t i = 0; i < 2; i++) { |
| 75 | 75 | WelsFree (m_pSampleBuffer[i][0]); |
| 76 | + m_pSampleBuffer[i][0] = NULL; | |
| 76 | 77 | WelsFree (m_pSampleBuffer[i][1]); |
| 78 | + m_pSampleBuffer[i][1] = NULL; | |
| 77 | 79 | WelsFree (m_pSampleBuffer[i][2]); |
| 80 | + m_pSampleBuffer[i][2] = NULL; | |
| 78 | 81 | } |
| 79 | 82 | } |
| 80 | 83 | |