mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 06:51:49 +00:00
dm: fix variable argument list read without ending with va_end
va_end() was not getting called under certain condition after the va_start() function call taking the va_list. Tracked-On: #3396 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
parent
1394758d69
commit
2e7171d616
@ -848,6 +848,7 @@ dsdt_line(const char *fmt, ...)
|
||||
return;
|
||||
|
||||
err_exit:
|
||||
va_end(ap);
|
||||
dsdt_error = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user