fritz-tools: fix segfault in caldata-extract
authorDavid Bauer <mail@david-bauer.net>
Tue, 28 Feb 2023 18:53:44 +0000 (19:53 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 2 Mar 2023 16:04:28 +0000 (17:04 +0100)
commit766270061305eb0ad18f241f907b321744b692bc
tree6152ea791c0a97430405ab8eea498a1f89ac3b45
parent19817fa3f566eae499544cdb36bd68fe3d46a3cc
fritz-tools: fix segfault in caldata-extract

 * Fix incorrect error message in case input file opening fails
 * Don't close files in case the pointers are invalid

Signed-off-by: David Bauer <mail@david-bauer.net>
package/utils/fritz-tools/Makefile
package/utils/fritz-tools/src/fritz_cal_extract.c