Commit fbc9c50a authored by ramiro's avatar ramiro

swscale-example: Free memory used by input data.

git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29583 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 19e035d7
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment