[MPlayer-cvslog] r38397 - trunk/mpcommon.c
reimar
subversion at mplayerhq.hu
Tue Aug 30 22:40:47 EEST 2022
Author: reimar
Date: Tue Aug 30 22:40:47 2022
New Revision: 38397
Log:
mpcommon.c: free vo_spudec on common_uninit.
mplayer frees it separately so it makes no difference
(but does not hurt either), but it fixes a memleak
for mencoder.
Modified:
trunk/mpcommon.c
Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c Tue Aug 30 22:27:29 2022 (r38396)
+++ trunk/mpcommon.c Tue Aug 30 22:40:47 2022 (r38397)
@@ -643,6 +643,8 @@ int common_init(void)
void common_uninit(void)
{
+ spudec_free(vo_spudec);
+ vo_spudec = NULL;
#ifdef CONFIG_FREETYPE
current_module = "uninit_font";
if (sub_font && sub_font != vo_font)
More information about the MPlayer-cvslog
mailing list