[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] A question...
> in any case, it is easy enough for PySurface_New to make sure the
> surface passed to it is freed if a problem does happen. i'll get
> this in for the next version, but nobody needs to worry about this
> sort of situation leaking memory on them without them knowing.
I think you should not solve this in the PySurface_New since the surface you
want to delete might be owned by another Python object. Am I wrong?
Guillaume
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org