summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2017-05-04 23:54:21 +0200
committerbju <bju@maxi.fritz.box>2017-05-04 23:54:21 +0200
commit888f87e2ac5fc9ed6e8f40141252dac302ddb688 (patch)
tree943081bf74f59155b087941e955e380026b818ff
parent6502c169013854525b5103a668bc7d5644f2028d (diff)
downloadvdr-manager-888f87e2ac5fc9ed6e8f40141252dac302ddb688.tar.gz
vdr-manager-888f87e2ac5fc9ed6e8f40141252dac302ddb688.tar.bz2
the pollfds array was deleted the wrong way
-rw-r--r--vdr-vdrmanager/select.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}