]> git.eshelyaron.com Git - emacs.git/commitdiff
fix missing goto into load_comp_unit
authorAndrea Corallo <akrl@sdf.org>
Wed, 20 Nov 2019 18:13:57 +0000 (19:13 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:08 +0000 (11:38 +0100)
src/comp.c

index e604c31c5fee75ec7ba7b4b35b85a9e14e0a0cb3..3e5f8f29901079ab5ef6f5975e3a2573550f9132 100644 (file)
@@ -3290,7 +3290,10 @@ load_comp_unit (dynlib_handle_ptr handle, char *file_name)
       else if (!strcmp (f_str, "specbind"))
        f_relocs[i] = (void *) specbind;
       else
-       err_msg = format_string ("unexpected function relocation %s.", f_str);
+       {
+         err_msg = format_string ("unexpected function relocation %s.", f_str);
+         goto exit_error;
+       }
     }
 
   /* Executing this will perform all the expected environment modification.  */