criu: pstree_switch_state -- Fix nil deref on error path
We may enter with @root_item = NULL in case of error handling, so simply bail out. Signed-off-by:Cyrill Gorcunov <gorcunov@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment