Re: [AD] file interface fopen

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


On Mon, Dec 20, 2010 at 4:25 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
>
> You forgot to free the ALLEGRO_FILE handle in al_fclose.
>
The fi_close methods were freeing it, but I've now moved it into
al_fclose, since al_fopen is allocating it. The attached patch
addresses that along with the other things mentioned.

What about al_create_file_handle vs  al_create_file_handle_vt ?

--
Matthew Leverton

Attachment: file-userdata3.diff.gz
Description: GNU Zip compressed data



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