rdtk: Fix leak found by covscan
authorOndrej Holy <oholy@redhat.com>
Mon, 20 Aug 2018 07:10:49 +0000 (09:10 +0200)
committerOndrej Holy <oholy@redhat.com>
Wed, 22 Aug 2018 12:34:02 +0000 (14:34 +0200)
commit3a5fdd0a3909fb1d88623bc2229ca7a3b7cbe7cb
treeb356d6a59647bbd95e9680f6738b700069d78532
parent0b7d0c2002061fc43f69bbc1e30bb50d7bf63c63
rdtk: Fix leak found by covscan

leaked_storage: Variable "fontBaseFile" going out of scope leaks the storage it points to.
leaked_storage: Variable "image" going out of scope leaks the storage it points to.
rdtk/librdtk/rdtk_font.c
rdtk/librdtk/rdtk_nine_patch.c