[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-04-17, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
>
> * a realloc in _al_convert_to_memory_bitmap() is commented out and it will
> cause small memory leaks (I'm not sure if that is technically a memory leak
> since destroying a bitmap will free the memory). The problem with this
> realloc() is that I don't know If I can assume that the pointer passed to
> it wont change.
I don't think there's any point in realloc'ing. You might want to clear
the part of the memory block no longer in use though.
Peter