Commit 5075f278 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test/rpc: don't call criu_resp__free_unpacked for NULL

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bba4000c
......@@ -164,6 +164,7 @@ int main(int argc, char *argv[])
exit:
close(fd);
close(dir_fd);
criu_resp__free_unpacked(resp, NULL);
if (resp)
criu_resp__free_unpacked(resp, NULL);
return ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment