criu: seize -- Don't left dangling @processes_to_wait_pids pointer
criu: seize -- Don't left dangling @processes_to_wait_pids pointer

If an error occured during freezer_wait_processes we are
freeing processes_to_wait_pids array but same time
take freezer_detach on error path to execute, which
lead in nil dereference in best case.

Simply zap dangling pointer and make sure it exist
in freezer_detach.

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,eabatalov/criu,efiop/criu,efiop/criu,KKoukiou/criu-remote,efiop/criu,efiop/criu,AuthenticEshkinKot/criu,KKoukiou/criu-remote,efiop/criu,AuthenticEshkinKot/criu,eabatalov/criu,efiop/criu,KKoukiou/criu-remote,KKoukiou/criu-remote,AuthenticEshkinKot/criu,eabatalov/criu,eabatalov/criu,AuthenticEshkinKot/criu,eabatalov/criu,KKoukiou/criu-remote,eabatalov/criu,KKoukiou/criu-remote