[CRIU] [PATCH] parasite: fix error paths in parasite_init

Pavel Emelyanov xemul at parallels.com
Thu Apr 11 11:58:02 EDT 2013


On 04/10/2013 02:27 PM, Andrew Vagin wrote:
> On Wed, Apr 10, 2013 at 01:26:08AM +0400, Pavel Emelyanov wrote:
>> On 04/06/2013 01:28 PM, Andrey Vagin wrote:
>>> * Call restore_ns on error paths.
>>> * Use close_safe for the socket, because it can be reused
>>>
>>> CID 996194 (#1 of 3): Resource leak (RESOURCE_LEAK)
>>> 6. leaked_handle: Handle variable "rst" going out of scope leaks the
>>> handle.
>>>
>>> Signed-off-by: Andrey Vagin <avagin at openvz.org>
>>> ---

applied


More information about the CRIU mailing list