Drop ~20k and ~10k of still reachable memory "leaks", for the glx and x11_egl
platforms respectively.

Signed-off-by: Emil Velikov <[email protected]>
---
 src/utils/wflinfo.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c
index 5a9195c..32dad71 100644
--- a/src/utils/wflinfo.c
+++ b/src/utils/wflinfo.c
@@ -32,7 +32,7 @@
 ///     2. Create an OpenGL context.
 ///     3. Print information about the context.
 
-#define WAFFLE_API_VERSION 0x0103
+#define WAFFLE_API_VERSION 0x0106
 
 #include <assert.h>
 #include <ctype.h>
@@ -1144,6 +1144,10 @@ main(int argc, char **argv)
     if (!ok)
         error_waffle();
 
+    ok = waffle_teardown();
+    if (!ok)
+        error_waffle();
+
     #ifdef __APPLE__
         cocoa_finish();
     #endif
-- 
2.1.3

_______________________________________________
waffle mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to