[PATCH skeleton v6 03/20] fix info memory leak

Stewart Smith stewart at linux.vnet.ibm.com
Thu Apr 21 03:19:55 AEST 2016


OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:
> From: Ken <ken1029 at gmail.com>

please use full name.

> ---
>  objects/info.c | 2 +-
[ 10 more citation lines. Click/Enter to show. ]
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/objects/info.c b/objects/info.c
> index ab2d98c..76c17d9 100644
> --- a/objects/info.c
> +++ b/objects/info.c
> @@ -145,7 +145,7 @@ int get_hdd_status(void)
>  
>      g_read_tmp[2]=g_read_bytes[2];
>      g_read_tmp[3]=g_read_bytes[3];
> -
> +    close(fd);
>  }

Please squash into previous commit.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the openbmc mailing list