Re: [AD] mode-list updates.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Martijn Versteegh <m.versteegh@xxxxxxxxxx> wrote:

>    Like `malloc', `realloc' may return a null pointer if no memory
> space is available to make the block bigger.  When this happens, the
>                                                                  ^^^
> original block is untouched; it has not been modified or relocated.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ok, i'm convinced. i'll fix up this and another memory leak i found.

Sincerely Henrik Stokseth.
-----------------------------------------------------------------------
E-mail: hstokset@xxxxxxxxxx  Homepage: http://hstokset.n3.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/