3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

json: call va_end in error case

Caught by static analysis
This commit is contained in:
James Prestwood 2022-03-18 09:44:17 -07:00 committed by Denis Kenzior
parent ed81351f15
commit 9f6576be05

View File

@ -279,6 +279,8 @@ done:
return true; return true;
error: error:
va_end(va);
l_queue_destroy(args, l_free); l_queue_destroy(args, l_free);
return false; return false;
} }