projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2047c
)
testsuite: Plug a memory leak
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 May 2023 02:37:03 +0000
(22:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 May 2023 02:37:03 +0000
(22:37 -0400)
testsuite/gdk/memorytexture.c
patch
|
blob
|
history
diff --git
a/testsuite/gdk/memorytexture.c
b/testsuite/gdk/memorytexture.c
index a675fff59d4d65595300843923c00ded0d6264b2..6d55ffb252446041edbf4c15ed81c6febe67258e 100644
(file)
--- a/
testsuite/gdk/memorytexture.c
+++ b/
testsuite/gdk/memorytexture.c
@@
-1064,6
+1064,7
@@
ensure_texture_format (GdkTexture *texture,
format,
bytes,
stride);
+ g_bytes_unref (bytes);
g_object_unref (texture);
return result;