testsuite: Plug a memory leak

This commit is contained in:
Matthias Clasen
2023-05-30 22:37:03 -04:00
parent 8d2047c824
commit cc665f29ea

View File

@@ -1064,6 +1064,7 @@ ensure_texture_format (GdkTexture *texture,
format,
bytes,
stride);
g_bytes_unref (bytes);
g_object_unref (texture);
return result;