[CRIU] [PATCH] Fix typo
Pavel Emelyanov
xemul at parallels.com
Wed Jun 25 03:13:50 PDT 2014
On 06/25/2014 01:28 AM, Tycho Andersen wrote:
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
> proc_parse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/proc_parse.c b/proc_parse.c
> index c6076d7..9e48e23 100644
> --- a/proc_parse.c
> +++ b/proc_parse.c
> @@ -1522,7 +1522,7 @@ int parse_task_cgroup(int pid, struct list_head *retl, unsigned int *n)
>
> ncc->name = xstrdup(name);
> ncc->path = xstrdup(path);
> - if (!ncc->name || !ncc->name) {
> + if (!ncc->name || !ncc->path) {
> xfree(ncc->name);
> xfree(ncc->path);
> xfree(ncc);
applied, thanks
More information about the CRIU
mailing list