From 507039d0569646de950ca3c9523c60be34f9aec7 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 20:33:25 +0300 Subject: [PATCH] Delete allocated semaphore fix cid#1029923 --- pdns/unix_semaphore.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/unix_semaphore.cc b/pdns/unix_semaphore.cc index 45e9339bfc..b471dca8d0 100644 --- a/pdns/unix_semaphore.cc +++ b/pdns/unix_semaphore.cc @@ -182,6 +182,7 @@ int Semaphore::getValue(Semaphore::sem_value_t *sval) Semaphore::~Semaphore() { + delete m_pSemaphore; } #endif -- 2.47.2