From: Aki Tuomi Date: Tue, 29 Sep 2015 17:22:50 +0000 (+0300) Subject: Add note about passing pointer to another process X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2301afa09121c42f492dc577a4a7aebe34c58445;p=thirdparty%2Fpdns.git Add note about passing pointer to another process --- 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!