Project

General

Profile

Bug #1347

memory leak on win32 in stream.c if CreateFileMapping() failed

Added by ralf over 9 years ago. Updated almost 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

http://trac.lighttpd.net/trac/browser/tags/lighttpd-1.4.18/src/stream.c#L66

There is a error message allocated in "lpMsgBuf" but never used and never free()'d?

Solution:

Completly remove that {{{ if (!mh){...} }}} part (or log the message and free(lpMsgBuf)).

Fix-memory-leak-on-windows-1371.patch View (785 Bytes) stbuehler, 2008-02-17 18:28

Associated revisions

Revision 03f51516 (diff)
Added by stbuehler almost 9 years ago

r2092@chromobil: stefan | 2008-02-26 17:08:48 +0100
Fix #1347: memory leak on windows

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2087 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler almost 9 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2087

Also available in: Atom