mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 23:13:26 +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;
|
return;
|
||||||
|
|
||||||
err_exit:
|
err_exit:
|
||||||
|
va_end(ap);
|
||||||
dsdt_error = -1;
|
dsdt_error = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user