[PATCH v3 1/1] tools/winedump : Avoid potential memory leaks

Zebediah Figura (she/her) zfigura at codeweavers.com
Sat Oct 9 10:28:19 CDT 2021


On 10/9/21 08:00, David Kahurani wrote:
> ct->expression gets overwritten with each call to strmake. Save
> its address in a temporary variable inorder to free it later
> on and avoid a memory leak
> 
> Signed-off-by: David Kahurani <k.kahurani at gmail.com>
> ---
>   tools/winedump/msmangle.c | 11 ++++++++++-
>   1 file changed, 10 insertions(+), 1 deletion(-)
> 

Thanks for the patch, but we don't consider it worthwhile to free memory 
in short-lived programs.



More information about the wine-devel mailing list