BIND 10 #394: memory leaks in branches/trac327 (after io_service refactors)

BIND 10 Development do-not-reply at isc.org
Wed Oct 27 08:52:54 UTC 2010


#394: memory leaks in branches/trac327 (after io_service refactors)
-------------------------------+--------------------------------------------
      Reporter:  jelte         |        Owner:     
          Type:  defect        |       Status:  new
      Priority:  major         |    Milestone:     
     Component:  Unclassified  |   Resolution:     
      Keywords:                |    Sensitive:  0  
Estimatedhours:  0.0           |        Hours:  0  
      Billable:  1             |   Totalhours:  0  
      Internal:  0             |  
-------------------------------+--------------------------------------------

Comment(by jelte):

 I've fixed a few other memory-related problems in r3369, but these were
 not the big ones.

 I've identified at least three places where new is used without a matching
 delete, but I'm not sure where to delete these (and/or if we can reach
 them at that point right now):

 - When RecursiveQuery::sendQuery() creates a UDPQuery object
 (asiolink.cc:240) , the constructor clones the DNSServer (udpdns.cc:180).
 This clone is never deleted.
 - udpdns.cc also does two news at line 109 and 110 which aren't freed

-- 
Ticket URL: <http://bind10.isc.org/ticket/394#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list