Bug #1347

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

Added by ralf almost 3 years ago. Updated over 2 years ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.4.19
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 (785 Bytes) stbuehler, 02/17/2008 06:28 pm

History

Updated by stbuehler over 2 years ago

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

Fixed in r2087

Also available in: Atom