Author: Bernhard Übelacker <bernhardu@mailbox.org>
Last-Update: 2023-02-04
Bug-Debian: https://bugs.debian.org/1028311
Description: Avoid calling hbf_release() twice

--- a/src/hbf.c
+++ b/src/hbf.c
@@ -126,7 +126,7 @@ hbf_load_hbf_file(HBF hbf, SEXP fontdirs
   FILE   *fp;
   char   linebuf[160], prop_string[160], *name, *file_path, *p;
   char   charset_name[80], charset_name2[80], charset_enc2[5], charset[90];
-  char   *uncomp_prog;
+  char   *uncomp_prog = NULL;
   int    index, r, i, n;
 
   hbf->byte2_range_start = NULL;
@@ -467,7 +467,6 @@ hbf_load_hbf_file(HBF hbf, SEXP fontdirs
 Unexpected_Error:
   if (uncomp_prog != NULL)
     vf_close_uncompress_stream(fp);
-  hbf_release(hbf);
   return -1;
 }
 
