Check for memory granted by get_dist_name

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
3 files changed