Commit c8630fd1 authored by Vinson Lee's avatar Vinson Lee

amd/addrlib: Add missing va_end.

Fix defect reported by Coverity Scan.

Missing varargs init or cleanup (VARARGS)
missing_va_end: va_end was not called for debugPrintInput.ap.

Fixes: 69ea473e ("amd/addrlib: update to the latest version")
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <!7299>
parent fe52efaa
Pipeline #224087 passed with stages
in 1 minute and 24 seconds
......@@ -230,6 +230,7 @@ VOID Object::DebugPrint(
m_client.callbacks.debugPrint(&debugPrintInput);
va_end(ap);
va_end(debugPrintInput.ap);
}
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment