lkml.org 
[lkml]   [2014]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] staging: rtl8188eu: Better memory clean-up in efuse_phymap_to_logical()
> diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c b/drivers/staging/rtl8188eu/core/rtw_efuse.c
> index 697876b..359f169 100644
> --- a/drivers/staging/rtl8188eu/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8188eu/core/rtw_efuse.c
[...]
> -exit:
> +cleanup2:
> + kfree(eFuseWord);
> +
> +cleanup1:
> kfree(efuseTbl);
>
> - kfree(eFuseWord);
> +exit:
> + ;
> }

You are not using the most recent version of the code. The issue has
already been fixed. Concretely, this part of the function now reads:

exit:
kfree(eFuseWord);

eFuseWord_failed:
kfree(efuseTbl);

julia


\
 
 \ /
  Last update: 2014-11-13 10:21    [W:0.563 / U:6.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site