[dvblast-devel] [Git][videolan/dvblast][master] fix memory leak introduced in 161bc13

Massiot gitlab at videolan.org
Fri Jan 6 14:01:51 CET 2017


Massiot pushed to branch master at videolan / dvblast


Commits:
6b35ca01 by Christophe Massiot at 2017-01-06T14:00:45+01:00
fix memory leak introduced in 161bc13

When EIT schedules are selected.

- - - - -


1 changed file:

- demux.c


Changes:

=====================================
demux.c
=====================================
--- a/demux.c
+++ b/demux.c
@@ -3030,6 +3030,8 @@ static void HandleEIT( uint16_t i_pid, uint8_t *p_eit, mtime_t i_dts )
 
 out_eit:
     SendEIT( p_sid, i_dts, p_eit );
+    if ( i_table_id != EIT_TABLE_ID_PF_ACTUAL )
+        free( p_eit );
 }
 
 /*****************************************************************************



View it on GitLab: https://code.videolan.org/videolan/dvblast/commit/6b35ca012e33e46ab6160b47debce50d62a302f9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20170106/890ef9c5/attachment.html>


More information about the dvblast-devel mailing list