]> git.ipfire.org Git - thirdparty/pdns.git/commit
pthread_rwlock_init() should be matched by pthread_rwlock_destroy() 8580/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 26 Nov 2019 12:24:59 +0000 (13:24 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 26 Nov 2019 12:39:34 +0000 (13:39 +0100)
commit040793d451ac8e575ad354737554031600ffa7ad
tree2a3cc8fb73d46bb41adf85aa20e3abf1dd43481e
parent7daf18837f12aeae642f572adb5d90846af9fda3
pthread_rwlock_init() should be matched by pthread_rwlock_destroy()

On some platforms, pthread_rwlock_init() not only inits mem, but also
acquires resources.
12 files changed:
pdns/auth-packetcache.cc
pdns/auth-packetcache.hh
pdns/auth-querycache.cc
pdns/auth-querycache.hh
pdns/dnscrypt.cc
pdns/dnscrypt.hh
pdns/dnsdist-cache.hh
pdns/dnsdist.hh
pdns/dnsdistdist/dnsdist-kvs.cc
pdns/dnsdistdist/dnsdist-kvs.hh
pdns/dnsdistdist/dnsdist-rules.hh
pdns/test-lock_hh.cc