Project

General

Profile

Actions

Bug #1347

closed

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

Added by ralf over 13 years ago. Updated about 13 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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


Files

Actions #1

Updated by stbuehler about 13 years ago

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

Fixed in r2087

Actions

Also available in: Atom