Skip to content
Commit 79e0b37c authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Pavel Emelyanov
Browse files

parse_mountinfo_ent: xrealloc(new->mountpoint) can fail



This is pure theoretical, especially in this particular case when we
actually want to (likely) free the unused memory. Still the code which
ignores potential error doesn't look good.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Reviewed-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 69600335
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment