changeset 33138:3335d117f6e6

Replace av_freep by av_free The local variables are no longer used, so freeing them will do.
author ib
date Tue, 05 Apr 2011 13:49:22 +0000
parents f884fb919ac5
children 64f29d5dfea2
files gui/util/bitmap.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/bitmap.c	Tue Apr 05 13:44:02 2011 +0000
+++ b/gui/util/bitmap.c	Tue Apr 05 13:49:22 2011 +0000
@@ -118,9 +118,9 @@
     }
 
     avcodec_close(avctx);
-    av_freep(&frame);
-    av_freep(&avctx);
-    av_freep(&data);
+    av_free(frame);
+    av_free(avctx);
+    av_free(data);
 
     return !(decode_ok && bf->BPP);
 }