libepoxy
libepoxy copied to clipboard
Fix memory leaks
Need to add an interface for users to call at exit for cleaning up for valgrind's sake.
It should simply be possible to use a destructor function, detect whether we're running under Valgrind by using valgrind.h, and free resources if that happens to be true.