[nginx] Win32: plugged memory leak.
Maxim Dounin
mdounin at mdounin.ru
Fri Nov 1 12:37:26 UTC 2013
details: http://hg.nginx.org/nginx/rev/dea321e5c021
branches:
changeset: 5437:dea321e5c021
user: Maxim Dounin <mdounin at mdounin.ru>
date: Thu Oct 31 18:23:49 2013 +0400
description:
Win32: plugged memory leak.
diffstat:
src/os/win32/ngx_files.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c
--- a/src/os/win32/ngx_files.c
+++ b/src/os/win32/ngx_files.c
@@ -753,6 +753,8 @@ ngx_win32_check_filename(u_char *name, u
goto invalid;
}
+ ngx_free(lu);
+
return NGX_OK;
invalid:
More information about the nginx-devel
mailing list