From 2301afa09121c42f492dc577a4a7aebe34c58445 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 20:22:50 +0300 Subject: [PATCH] Add note about passing pointer to another process --- pdns/distributor.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/distributor.hh b/pdns/distributor.hh index f431aabe56..fdd0cd61af 100644 --- a/pdns/distributor.hh +++ b/pdns/distributor.hh @@ -259,6 +259,7 @@ templateint MultiThreadDistributor< { q=new Question(*q); + // this is passed to other process over pipe and released there auto QD=new QuestionData(); QD->Q=q; auto ret = QD->id = nextid++; // might be deleted after write! -- 2.47.2