Fix memory leaks in unit tests
This fixes an assortment of memory leaks in the various unit tests.
This should hopefully produce less noise when using valgrind or similar with libglvnd.
This fixes an assortment of memory leaks in the various unit tests.
This should hopefully produce less noise when using valgrind or similar with libglvnd.