Re: How far should one go preventing potential memory leaks?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How far should one go preventing potential memory leaks?
- From: Alex Silva <asandroq@...>
- Date: 2016年5月10日 10:03:51 +0200
Hallo,
On 10/05/16 09:42, Marc Balmer wrote:
>
> Well, in the real code the allocations are made for user supplied parameters, so I don't
> know neither the size of the parameters not their count (which can be up to 65535), so
> I really need to allocate the memory.
>
There is always `alloca()`.
--
-alex
http://unendli.ch/