files-reg: don't leak file_remap objects on error paths
CID undefined (#1 of 1): Resource leak (RESOURCE_LEAK) 10. leaked_storage: Variable rm going out of scope leaks the storage it points to. Signed-off-by:Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment