Re: Malloc while freeing some object
From: Roman Kurakin (rik_at_cronyx.ru)
Date: 06/30/05
- Previous message: Dmitry Mityugov: "Re: Malloc while freeing some object"
- In reply to: Dmitry Mityugov: "Re: Malloc while freeing some object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Jun 2005 22:27:24 +0400 To: Dmitry Mityugov <dmitry.mityugov@gmail.com>
Dmitry Mityugov wrote:
>On 6/30/05, Roman Kurakin <rik@cronyx.ru> wrote:
>
>
>>Hi,
>>
>> One simple question on programming style. Is it ok
>>to call malloc while we releasing some object?
>>
>>
>Are you releasing it in another thread? Is it a C++ object? How are
>
>you releasing it?
>
>
This was general question. In fact I've found that ttyfree() function
from kernel
code allocates tempory variables to free tty. I didn't expect such
behaviour.
I always thought that deallocation of smth should need other alloc.
rik
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Dmitry Mityugov: "Re: Malloc while freeing some object"
- In reply to: Dmitry Mityugov: "Re: Malloc while freeing some object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|