Unified · Split
| @@ -420,7 +420,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 419 unmodified lines | ||
| 420 | 420 | } |
| 421 | 421 | } |
| 422 | 422 | if (s->compr == TIFF_LZW) |
| 423 | − av_free(s->lzws); | |
| 423 | + av_freep(&s->lzws); | |
| 424 | 424 | } |
| 425 | 425 | |
| 426 | 426 | s->num_entries = 0; |