freebsd-ports/dns/powerdns/files/patch-pdns_backends_bind_bindbackend_cc
Dirk Meyer adaf6f04c5 - Added some patches to fix a memory leak in the bind backend
- Added a patch to fix a problem with the allow-axfr-ips option (host/32 netmask didn't work)
- Added an option to the configure dialog to compile the recursor
- Bumped PORTREVISION

PR:		59385
Submitted by:	tremere@cainites.net
2003-11-18 13:34:59 +00:00

16 lines
595 B
Text

--- pdns/backends/bind/bindbackend.cc.orig Sat Aug 23 16:35:35 2003
+++ pdns/backends/bind/bindbackend.cc Mon Nov 17 20:54:19 2003
@@ -58,11 +58,10 @@
d_loaded=false;
d_last_check=0;
d_checknow=false;
- d_rwlock=new pthread_rwlock_t;
d_status="Seen in bind configuration";
d_confcount=0;
- //cout<<"Generated a new bbdomaininfo: "<<(void*)d_rwlock<<"/"<<getpid()<<endl;
- pthread_rwlock_init(d_rwlock,0);
+ //cout<<"Generated a new bbdomaininfo: "<<d_rwlock<<"/"<<getpid()<<endl;
+ pthread_rwlock_init(&d_rwlock,0);
}
void BBDomainInfo::setCheckInterval(time_t seconds)