]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/dv1394.c
Merge commit 'e581e88cbdb3323ca0026a54b39a9716a3686e9f'
[ffmpeg] / libavdevice / dv1394.c
index c8241e33f2293cf7f5eff2faca0380e664a49af1..833b65d0d089aded564daa1dccf4114d3bc1e744 100644 (file)
@@ -206,7 +206,7 @@ static int dv1394_close(AVFormatContext * context)
         av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
 
     close(dv->fd);
-    av_free(dv->dv_demux);
+    av_freep(&dv->dv_demux);
 
     return 0;
 }