References: <1535550583-21825-1-git-send-email-steffan.karger@...1435...> From: Arne Schwabe Message-ID: <6f98b145-53cc-f4f9-af77-3804c477d075@...1227...> Date: Thu, 30 Aug 2018 12:56:39 +0200 MIME-Version: 1.0 In-Reply-To: <1535550583-21825-1-git-send-email-steffan.karger@...1435...> Content-Language: de-DE Subject: Re: [Openvpn-devel] [PATCH] Fix memory leak after sighup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Steffan Karger , openvpn-devel@lists.sourceforge.net Am 29.08.18 um 15:49 schrieb Steffan Karger: > The c.es env_set is (re)allocated for each "sighup loop iteration", while > it was free'd only once at process shutdown. Move the env_set_destroy() > call to match the same level as the env_set_create() call to fix that. > Acked-by: Arne Schwabe This like the right fix and even though the leak is small we should fix it nevertheless. Arne