mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 06:29:19 +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: #3406 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
parent
c0cb9c509f
commit
de125e6c6f
@ -844,6 +844,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