Browse Source

Free network_info on clear

Georgi Chorbadzhiyski 9 years ago
parent
commit
d657ce22b0
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tsfuncs_nit.c

+ 1
- 0
tsfuncs_nit.c View File

@@ -32,6 +32,7 @@ void ts_nit_clear(struct ts_nit *nit) {
32 32
 	struct ts_nit_stream **streams = nit->streams;
33 33
 	int streams_max = nit->streams_max;
34 34
 	// free
35
+	FREE(nit->network_info);
35 36
 	ts_nit_streams_data_free(nit);
36 37
 	// clear
37 38
 	ts_section_data_clear(section_header);

Loading…
Cancel
Save