[vlc-commits] vpx: fix memory leak
Hannes Domani
git at videolan.org
Fri Feb 26 18:02:05 CET 2016
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Feb 26 17:49:20 2016 +0100| [cf7ca5fea539dd1f1d2867dc67b5970518595cae] | committer: Jean-Baptiste Kempf
vpx: fix memory leak
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf7ca5fea539dd1f1d2867dc67b5970518595cae
---
modules/codec/vpx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/vpx.c b/modules/codec/vpx.c
index 0b86489..a028611 100644
--- a/modules/codec/vpx.c
+++ b/modules/codec/vpx.c
@@ -306,6 +306,7 @@ static int OpenEncoder(vlc_object_t *p_this)
break;
#endif
default:
+ free(p_sys);
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list