From: Andrea Corallo Date: Wed, 20 Nov 2019 18:13:57 +0000 (+0100) Subject: fix missing goto into load_comp_unit X-Git-Tag: emacs-28.0.90~2727^2~965 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=630fcab4fcfa9afab4688d803892d76cf6f46961;p=emacs.git fix missing goto into load_comp_unit --- diff --git a/src/comp.c b/src/comp.c index e604c31c5fe..3e5f8f29901 100644 --- a/src/comp.c +++ b/src/comp.c @@ -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. */