[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] [Bug 73] [PATCH] Fix for some memory and descriptors leaks



http://www.ossec.net/bugs/show_bug.cgi?id=73





------- Comment #11 from dcid@xxxxxxxxx  2007-10-23 21:47 -------
I think we are not agreeing in what memory leak means. 

If there is an error and the process exits, the memory is released and the file
descriptors are closed by the kernel. It happens on a normal exit (when we call
ErrorExit) or when a signal is sent to ossec. There is no leak in here, because
the process is not running anymore. I know it is good practice to exit cleanly,
but in case of errors, we don't need to do so.

A memory leak (IMO) is when the process keep running and the used memory is not
being released, causing it to grow is size... Using this definition, there is
no leak at all..


-- 
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.