[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvpn-devel
Subject:    Re: [Openvpn-devel] [PATCH] Fix memory leak after sighup
From:       Arne Schwabe <arne () rfc2549 ! org>
Date:       2018-08-30 10:56:39
Message-ID: 6f98b145-53cc-f4f9-af77-3804c477d075 () rfc2549 ! org
[Download RAW message or body]

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 <arne@rfc2549.org>

This like the right fix and even though the leak is small we should fix
it nevertheless.

Arne

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic