diff options
author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-11-28 20:09:40 +0200 |
---|---|---|
committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-11-28 20:09:40 +0200 |
commit | b607347427f43c72b9b9a01c860c0a030098f1f3 (patch) | |
tree | af3f69e3144dc375345597715addb4240d48734b | |
parent | 4e6bdaf69102d288d3190ab4ae109465bc918d0b (diff) | |
download | vdr-plugin-epgfixer-b607347427f43c72b9b9a01c860c0a030098f1f3.tar.gz vdr-plugin-epgfixer-b607347427f43c72b9b9a01c860c0a030098f1f3.tar.bz2 |
Fix memory leak.
-rw-r--r-- | epghandler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epghandler.c b/epghandler.c index 8a76630..da62dd5 100644 --- a/epghandler.c +++ b/epghandler.c @@ -240,6 +240,10 @@ void cEpgfixerEpgHandler::FixOriginalEpgBugs(cEvent *event) event->SetTitle(title); event->SetShortText(shortText); event->SetDescription(description); + + free(title); + free(shortText); + free(description); } bool cEpgfixerEpgHandler::FixBugs(cEvent *Event) |