https://bugs.freedesktop.org/show_bug.cgi?id=83022
--- Comment #1 from Michel Dänzer michel@daenzer.net --- First of all, please attach /var/log/Xorg.0.log and the output of dmesg and glxinfo.
The output from running the app with valgrind --leak-check=full (preferably with debugging symbols available for r600_dri.so) should be a good start to identify where the leaks are coming from.