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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs