Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 1861fb8666a28eba0eabbaa990ec1c8720142375 (commit)
from 08814bc329f1b8c2ac5264aaec7cfe55df57b13c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1861fb8666a28eba0eabbaa990ec1c8720142375
Author: Stefan Seyfried <[email protected]>
Date: Mon May 18 14:58:33 2015 +0200
sectionsd: fix memleak with unused events
Signed-off-by: GetAway <[email protected]>
diff --git a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
index 893fc20..825264e 100644
--- a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
+++ b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
@@ -846,6 +846,7 @@ static void addEvent(const SIevent &evt, const time_t zeit,
bool cn = false)
continue;
/* else: keep the old event with the
lower table_id */
unlockEvents();
+ delete eptr;
return;
}
if ((*x)->times.begin()->startzeit >= end_time)
@@ -861,6 +862,7 @@ static void addEvent(const SIevent &evt, const time_t zeit,
bool cn = false)
dprintf("%s: don't replace
0x%016llx.%02x with 0x%016llx.%02x\n",
__func__, x_key,
(*x)->table_id, e_key, e->table_id);
unlockEvents();
+ delete eptr;
return;
}
/* SRF special case: advertising is inserted
with start time of
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
Tuxbox-GIT: apps
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Tuxbox-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tuxbox-cvs-commits