_dl_exception_create_format: Add missing va_end

Coverity discovered a missing va_end.
This commit is contained in:
Siddhesh Poyarekar 2021-05-11 09:04:29 +05:30
parent 1abc2fba55
commit 81046e2812

View File

@ -240,6 +240,7 @@ _dl_exception_create_format (struct dl_exception *exception, const char *objname
if (len_objname != end - wptr)
length_mismatch ();
exception->objname = memcpy (wptr, objname, len_objname);
va_end (ap);
}
}
rtld_hidden_def (_dl_exception_create_format)