tinyosc
tinyosc copied to clipboard
Fixes potential error with unclosed va_list
Running static code analysis showed a va_list being opened then a possible return from function before the va_list is closed. This would leave the va_list open with consequential memory leak (or worse).
This PR simply performs the (already coded) check and return before accessing the va_list, removing this potential issue.