From 98cbc0ea79ce5bea637f7bd7ebe94e698cd818a0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Apr 2013 23:14:07 +0200 Subject: event/TimeoutMonitor: eliminate support for periodic events No caller needs this. Fixes use-after-free after returning from Client::OnTimeout(). --- src/InotifyQueue.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/InotifyQueue.hxx') diff --git a/src/InotifyQueue.hxx b/src/InotifyQueue.hxx index 761df574a..818621ef8 100644 --- a/src/InotifyQueue.hxx +++ b/src/InotifyQueue.hxx @@ -35,7 +35,7 @@ public: void Enqueue(const char *uri_utf8); private: - virtual bool OnTimeout() override; + virtual void OnTimeout() override; }; #endif -- cgit v1.2.3