1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

fsp: Comment about not freeing memory in the child process.

This commit is contained in:
Kalle Olavi Niemitalo 2007-03-05 20:48:17 +02:00 committed by Kalle Olavi Niemitalo
parent 3ba31763a9
commit 368a749123

View File

@ -91,7 +91,13 @@ struct module fsp_protocol_module = struct_module(
* The exit code of the child process also indicates whether an error
* occurred, but the parent process ignores it. */
/* FSP synchronous connection management (child process): */
/* FSP synchronous connection management (child process):
*
* The child process generally does not bother to free the memory it
* allocates. When the process exits, the operating system will free
* the memory anyway. There is no point in changing this, because the
* child process also inherits memory allocations from the parent
* process, and it would be very cumbersome to free those. */
/* FIXME: Although it is probably not so much an issue, check if writes to
* stdout fails for directory listing like we do for file fetching. */