History

libavcodec/libxavs: Use av_freep() avoid leaving stale pointers in memory

Michael Niedermayer committed 12 years ago

Commit 98fbf8e1 parent ade140e1 file · +1 −1Browse files

Unified · Split

libavcodec/libxavs.c+1−1
@@ -201,7 +201,7 @@ static av_cold int XAVS_close(AVCodecContext *avctx) · 200 unmodified lines
201 XavsContext *x4 = avctx->priv_data;201 XavsContext *x4 = avctx->priv_data;
202 202
203 av_freep(&avctx->extradata);203 av_freep(&avctx->extradata);
204 av_free(x4->sei);204 av_freep(&x4->sei);
205 av_freep(&x4->pts_buffer);205 av_freep(&x4->pts_buffer);
206 206
207 if (x4->enc)207 if (x4->enc)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t