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
1 changed files with 2 additions and 0 deletions

View File

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