projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5828713
)
lzo: fix memory leak
author
Vineeth T M
<vineeth.tm@samsung.com>
Mon, 22 Jun 2015 10:35:57 +0000
(19:35 +0900)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 22 Jun 2015 11:22:06 +0000
(12:22 +0100)
the opened file is not being closed during test, which will result
in memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=751306
gst/matroska/lzo.c
patch
|
blob
|
history
diff --git
a/gst/matroska/lzo.c
b/gst/matroska/lzo.c
index
3c564bb
..
7462df2
100644
(file)
--- a/
gst/matroska/lzo.c
+++ b/
gst/matroska/lzo.c
@@
-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