swscale-example: Free memory used by input data.
Originally committed as revision 29583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
0607b09069
commit
111641a97a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user