From: Benny Morgan Date: Sun, 30 Jun 2013 19:39:34 +0000 (+0200) Subject: - Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd X-Git-Tag: 3.4patch1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1955888d189aa2f33c34a62e1e13114da72f7544;p=thirdparty%2Ftvheadend.git - Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd (cherry picked from commit 55a0e92a67b7e29b7606a1ac1787415d25c8ef8f) --- diff --git a/src/service.c b/src/service.c index 7851f5c27..5bc2ebdfc 100644 --- a/src/service.c +++ b/src/service.c @@ -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; } /**