bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Check for a return value in netfs_make_peropen before using


From: James Clarke
Subject: Re: [PATCH] Check for a return value in netfs_make_peropen before using it in netfs_make_protid.
Date: Sun, 7 Feb 2016 22:34:17 +0000

On 7 Feb 2016, at 14:51, Flavio Cruz <flaviocruz@gmail.com> wrote:
> -  cred = netfs_make_protid (netfs_make_peropen (node, flags, cookie2),
> -                         user);
> +  po = netfs_make_peropen (node, flags, cookie2);
> +  if (! po)
> +    return errno;

You need to free user.

James

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]