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:
Vineeth T M 2015-06-22 19:35:57 +09:00 committed by Luis de Bethencourt
parent 5828713771
commit e97df1e097

View file

@ -286,6 +286,8 @@ main (int argc, char *argv[])
av_log (NULL, AV_LOG_ERROR, "decompression incorrect\n"); av_log (NULL, AV_LOG_ERROR, "decompression incorrect\n");
else else
av_log (NULL, AV_LOG_ERROR, "decompression ok\n"); av_log (NULL, AV_LOG_ERROR, "decompression ok\n");
fclose (in);
return 0; return 0;
} }
#endif #endif