X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fpoll.cpp;h=a58090792fcb06cf9c4a2a9049159ac7324524a8;hp=fb5c62fcbf1737f23e556d169f59d5652f00c2db;hb=b4806214e905752617691f851717033fd3f266c2;hpb=26636afce9c85c6c78c7267ebcd18d165825024b diff --git a/source/io/poll.cpp b/source/io/poll.cpp index fb5c62f..a580907 100644 --- a/source/io/poll.cpp +++ b/source/io/poll.cpp @@ -5,7 +5,6 @@ #endif #include #include -#include #include "eventobject.h" #include "handle.h" #include "handle_private.h" @@ -107,6 +106,11 @@ Poller::Poller(): objs_changed(false) { } +Poller::~Poller() +{ + delete priv; +} + void Poller::set_object(EventObject &obj, PollEvent ev) { // Verify that the object has an event handle