Commit 8efa874d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

subsdec: Fix leak

parent b65a9f36
...@@ -1025,6 +1025,8 @@ static text_segment_t* ParseSubtitles( int *pi_align, const char *psz_subtitle ) ...@@ -1025,6 +1025,8 @@ static text_segment_t* ParseSubtitles( int *pi_align, const char *psz_subtitle )
psz_subtitle++; psz_subtitle++;
} }
} }
while ( p_stack )
PopStyle( &p_stack );
return p_first_segment; return p_first_segment;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment