diff lcl.c @ 2248:e4e1b4f31db6 libavcodec

segfault fix by (Kostya <cannonball at bw-team dot com>)
author michael
date Thu, 23 Sep 2004 09:42:25 +0000
parents d01772d1bf55
children 902caf560c43
line wrap: on
line diff
--- a/lcl.c	Wed Sep 22 05:04:18 2004 +0000
+++ b/lcl.c	Thu Sep 23 09:42:25 2004 +0000
@@ -843,7 +843,7 @@
     LclContext *c = avctx->priv_data;
 
     av_freep(&avctx->extradata);
-    av_freep(c->comp_buf);
+    av_freep(&c->comp_buf);
 #ifdef CONFIG_ZLIB
     deflateEnd(&(c->zstream));
 #endif