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:
parent
146a605938
commit
588375444b
@ -67,6 +67,12 @@ struct module smb_protocol_module = struct_module(
|
||||
/* 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
|
||||
smb_error(int error)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user