From 9fc50cdf98444c3c4087f0bbab29fbba4704f049 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 5 May 2012 14:12:16 +0400 Subject: [PATCH] eitd/sectionsd.cpp: delete C/N events on cleanup --- src/eitd/sectionsd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 4585c7cae..0743cb82d 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -2174,6 +2174,8 @@ printf("SIevent size: %d\n", sizeof(SIevent)); #endif #ifdef EXIT_CLEANUP xprintf("[sectionsd] cleanup...\n"); + delete myNextEvent; + delete myCurrentEvent; FreeMemory(); #endif xprintf("[sectionsd] stopped\n");