[librsvg/librsvg-2.44] tests/api.c: Free a surface



commit e591cec1030317adad4c4eeda04d0ed938323057
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jul 23 12:35:31 2019 -0500

    tests/api.c: Free a surface

 tests/api.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/api.c b/tests/api.c
index 10376d7f..db0d9124 100644
--- a/tests/api.c
+++ b/tests/api.c
@@ -654,6 +654,7 @@ render_cairo_sub (void)
 
     g_object_unref (handle);
     cairo_destroy (cr);
+    cairo_surface_destroy (surf);
 }
 
 /* https://gitlab.gnome.org/GNOME/librsvg/issues/385 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]