]> 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)
committerAdam Sutton <dev@adamsutton.me.uk>
Thu, 11 Jul 2013 19:16:02 +0000 (20:16 +0100)
(cherry picked from commit 55a0e92a67b7e29b7606a1ac1787415d25c8ef8f)

src/service.c

index 7851f5c27c95d3c4d56f18fab78aa9b7cce78cc8..5bc2ebdfcd1191330e8028e39e3deacd93308966 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;
 }
 
 /**