Skip to content

Commit

Permalink
fix memleak introduced in d067ab3 (#2395)
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliendavid committed Apr 24, 2023
1 parent f8ce508 commit c972a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media_tools/mpegts.c
Expand Up @@ -948,7 +948,7 @@ static void gf_m2ts_process_tdt_tot(GF_M2TS_Demuxer *ts, GF_M2TS_SECTION_ES *tdt

if (data_size < 5) {
GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[MPEG-2 TS] Section data size too small to read date (len: %u)\n", data_size));
return;
goto error_exit;
}

/*UTC_time - see annex C of DVB-SI ETSI EN 300468*/
Expand Down

0 comments on commit c972a6e

Please sign in to comment.