Re: [AD] Memory handling problems in 4.3.10

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


On 2008-09-24, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> Seems not even our own ustrdup uses _AL_MALLOC - that also needs to be
> fixed.

Hmm.  If ustrdup() uses _AL_MALLOC(), then it should be paired with
_AL_FREE().  _AL_FREE() is supposed to be internal, so how does a caller
of ustrdup() know which free function to call?

I think this means we need to add al_malloc(), al_free(), etc.

Peter





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