[FFmpeg-cvslog] r29583 - trunk/libswscale/swscale-example.c
ramiro
subversion
Sat Aug 29 05:36:09 CEST 2009
Author: ramiro
Date: Sat Aug 29 05:36:09 2009
New Revision: 29583
Log:
swscale-example: Free memory used by input data.
Modified:
trunk/libswscale/swscale-example.c
Modified: trunk/libswscale/swscale-example.c
==============================================================================
--- trunk/libswscale/swscale-example.c Sat Aug 29 04:44:03 2009 (r29582)
+++ trunk/libswscale/swscale-example.c Sat Aug 29 05:36:09 2009 (r29583)
@@ -236,8 +236,10 @@ int main(int argc, char **argv)
}
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
sws_freeContext(sws);
+ free(rgb_data);
selfTest(src, stride, W, H);
+ free(data);
return 0;
}
More information about the ffmpeg-cvslog
mailing list