gdk: Fix possible memory errors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2022 04:51:28 +0000 (23:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2022 05:04:23 +0000 (00:04 -0500)
commit8c1a041104f22f0b20320c12d5bb3070b757e687
tree3132c52549910297faf72c4aa0f756f87fdab737
parent95fc5109bbcfdb8c991d3c447916d6094e6d40bb
gdk: Fix possible memory errors

clang complained that we may end up jumping
to the cleanup code without initializing data
in the jpeg code. Always initialize data to
NULL to prevent that eventuality.
gdk/loaders/gdkjpeg.c