trivial issue found by cppcheck:

[uwac/libuwac/uwac-display.c:73]: (error) va_list 'args' was opened but not closed by va_end().
This commit is contained in:
Ilya Shipitsin 2017-01-25 15:48:49 +05:00
parent a1a28d1315
commit 0d15573010

View File

@ -70,6 +70,7 @@ bool uwac_default_error_handler(UwacDisplay* display, UwacReturnCode code, const
va_list args;
va_start(args, msg);
vfprintf(stderr, "%s", args);
va_end(args);
return false;
}