[Commits] : Tuxbox-GIT: apps branch master updated. CVS-Final-562-g488b2b4
Tuxbox Sources
Brought to you by:
dbt1
|
From: GetAway <tux...@ne...> - 2015-05-18 14:08:25
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 488b2b49a03eaf1bef874d38ac97b7f8078c14eb (commit)
from 1861fb8666a28eba0eabbaa990ec1c8720142375 (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 488b2b49a03eaf1bef874d38ac97b7f8078c14eb
Author: Stefan Seyfried <se...@tu...>
Date: Mon May 18 16:06:40 2015 +0200
revert: sectionsd: fix memleak with unused events
does not work on dbox
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
index 825264e..893fc20 100644
--- a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
+++ b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
@@ -846,7 +846,6 @@ 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)
@@ -862,7 +861,6 @@ 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, 0 insertions(+), 2 deletions(-)
--
Tuxbox-GIT: apps
|