From 888f87e2ac5fc9ed6e8f40141252dac302ddb688 Mon Sep 17 00:00:00 2001 From: bju Date: Thu, 4 May 2017 23:54:21 +0200 Subject: the pollfds array was deleted the wrong way --- vdr-vdrmanager/select.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr-vdrmanager') diff --git a/vdr-vdrmanager/select.cpp b/vdr-vdrmanager/select.cpp index 5e78584..f1cb34b 100644 --- a/vdr-vdrmanager/select.cpp +++ b/vdr-vdrmanager/select.cpp @@ -172,7 +172,7 @@ bool cSelect::Poll() { } if (rc < 0) { LOG_ERROR; - delete pollfds; + delete[] pollfds; return false; } @@ -227,7 +227,7 @@ bool cSelect::Poll() { } } - delete pollfds; + delete[] pollfds; return true; } -- cgit v1.2.3