mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue