[PATCH] winebuild: Fix memory leaks (Pinpoint)
Fix bug 44601,44602,44603,44604,44605,44606,44607,44608 Although winebuild only runs for a short period of time. These memory leaks should be fixed anyway. Signed-off-by: Zhiyi Zhang <yi.gd.cn(a)gmail.com> --- tools/winebuild/import.c | 8 +++++++- tools/winebuild/main.c | 2 ++ tools/winebuild/parser.c | 1 + tools/winebuild/res32.c | 2 ++ tools/winebuild/spec32.c | 5 ++++- tools/winebuild/utils.c | 5 ++++- 6 files changed, 20 insertions(+), 3 deletions(-)
Zhiyi Zhang <yi.gd.cn(a)gmail.com> writes:
Fix bug 44601,44602,44603,44604,44605,44606,44607,44608
Although winebuild only runs for a short period of time. These memory leaks should be fixed anyway.
There's no reason to fix leaks in short-lived apps like the build tools, it's only making the code more complex for no benefit. Running such leak detection software on the tools is not useful. -- Alexandre Julliard julliard(a)winehq.org
Yeah, it has little benefit. But I was thinking doing so would make others not reporting the same bugs again. Alexandre Julliard <julliard(a)winehq.org>于2018年2月26日 周一18:23写道:
Zhiyi Zhang <yi.gd.cn(a)gmail.com> writes:
Fix bug 44601,44602,44603,44604,44605,44606,44607,44608
Although winebuild only runs for a short period of time. These memory leaks should be fixed anyway.
There's no reason to fix leaks in short-lived apps like the build tools, it's only making the code more complex for no benefit. Running such leak detection software on the tools is not useful.
-- Alexandre Julliard julliard(a)winehq.org
-- Zhiyi Zhang
participants (2)
-
Alexandre Julliard -
Zhiyi Zhang