]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
- Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd
authorBenny Morgan <benny@zuragon.com>
Sun, 30 Jun 2013 19:39:34 +0000 (21:39 +0200)
committerBenny Morgan <benny@zuragon.com>
Sun, 30 Jun 2013 19:39:34 +0000 (21:39 +0200)
src/service.c

index c6666b5f67c383caae26d438a2b54b271e7c6fb0..cb9e710e22d7b4781d4395c1963012b07b93c22e 100644 (file)
@@ -108,6 +108,9 @@ stream_clean(elementary_stream_t *st)
   free(st->es_global_data);
   st->es_global_data = NULL;
   st->es_global_data_len = 0;
+
+  free(st->es_section);
+  st->es_section = NULL;
 }
 
 /**