lzo: fix memory leak
the opened file is not being closed during test, which will result in memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=751306
This commit is contained in:
parent
5828713771
commit
e97df1e097
@ -286,6 +286,8 @@ main (int argc, char *argv[])
|
||||
av_log (NULL, AV_LOG_ERROR, "decompression incorrect\n");
|
||||
else
|
||||
av_log (NULL, AV_LOG_ERROR, "decompression ok\n");
|
||||
|
||||
fclose (in);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user