Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -143,9 +143,9 @@ static av_cold int iv_alloc_frames(Indeo3DecodeContext *s) · 142 unmodified lines | ||
| 143 | 143 | |
| 144 | 144 | static av_cold void iv_free_func(Indeo3DecodeContext *s) |
| 145 | 145 | { |
| 146 | − av_free(s->buf); | |
| 147 | − av_free(s->ModPred); | |
| 148 | − av_free(s->corrector_type); | |
| 146 | + av_freep(&s->buf); | |
| 147 | + av_freep(&s->ModPred); | |
| 148 | + av_freep(&s->corrector_type); | |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | struct ustr { |