1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

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

Corresponds to FSP commit 368a749123.
This commit is contained in:
Kalle Olavi Niemitalo 2007-03-05 23:50:50 +02:00 committed by Kalle Olavi Niemitalo
parent 146a605938
commit 588375444b

View File

@ -67,6 +67,12 @@ struct module smb_protocol_module = struct_module(
/* done: */ NULL /* done: */ NULL
); );
/* 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. */
static void static void
smb_error(int error) smb_error(int error)
{ {