Ticket #1347 (closed defect: fixed)

Opened 8 months ago

Last modified 3 months ago

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

Reported by: ralf Assigned to: jan
Priority: normal Milestone: 1.4.19
Component: core Version: 1.4.18
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

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)).

Attachments

Fix-memory-leak-on-windows-1371.patch (0.8 kB) - added by stbuehler on 02/17/2008 06:28:28 PM.

Change History

02/17/2008 06:28:28 PM changed by stbuehler

  • attachment Fix-memory-leak-on-windows-1371.patch added.

02/26/2008 04:30:38 PM changed by stbuehler

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [2087]


Add/Change #1347 (memory leak on win32 in stream.c if CreateFileMapping() failed)




Change Properties
Action