Tormod, If I understand this, that while loop was put in because of possible memory leaks, but in bo_allocate, the new bo is made part of a linked list. radeon_bo_legacy_dtor destroys all the bo_legacys in the list. I don't think it is possble to leak the memory.
A very unscientific test, but I ran mplayer with gl2 as the video-output through valgrind. There were no memory leaks. -- radeon_dma.c:210: radeonRefillCurrentDmaRegion: Assertion `dma_bo->bo->cref == 1' failed. https://bugs.launchpad.net/bugs/459961 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp

