[vlc-commits] prefetch: fix memory leak
Rémi Denis-Courmont
git at videolan.org
Mon Jul 25 21:31:33 CEST 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 25 22:28:32 2016 +0300| [7c30e84492afd4852addbb806a09ec3c0f4f6480] | committer: Rémi Denis-Courmont
prefetch: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c30e84492afd4852addbb806a09ec3c0f4f6480
---
modules/stream_filter/prefetch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_filter/prefetch.c b/modules/stream_filter/prefetch.c
index a258dba..056074e 100644
--- a/modules/stream_filter/prefetch.c
+++ b/modules/stream_filter/prefetch.c
@@ -691,6 +691,7 @@ error:
UnmapViewOfFile(sys->buffer);
}
#endif
+ free(sys->content_type);
free(sys);
return VLC_ENOMEM;
}
More information about the vlc-commits
mailing list