mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 09:29:51 +00:00
[spinel] move call to va_end to exit path (#2390)
This commit is contained in:
@@ -267,9 +267,9 @@ otError SpinelEncoder::WritePacked(const char *aPackFormat, ...)
|
||||
|
||||
error = mNcpBuffer.InFrameFeedData(buf, static_cast<uint16_t>(packedLen));
|
||||
|
||||
exit:
|
||||
va_end(args);
|
||||
|
||||
exit:
|
||||
return error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user