gdk: Fix an oversight in GdkContentFormats
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Jun 2023 12:12:56 +0000 (08:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Jun 2023 12:17:34 +0000 (08:17 -0400)
commit53af7208e60569d3a86b99c385b7db0d2f2989f8
treefa6f2a42ac0957299b4d917b147608d5b74637f5
parentc67f3c50389b2826de6a32fe3809305ce2730392
gdk: Fix an oversight in GdkContentFormats

When clearing a builder, reset the counts to 0.

Otherwise valgrind spots uninitialized memory
use in our testsuite.
gdk/gdkcontentformats.c