mirror of https://github.com/GNOME/gimp.git
app: make sure va_start() is matched by va_end().
xcf_save_prop() starts with va_start(), hence must end with va_end(). Yet any of the xcf_write*_check_error() macros could end this function abruptly. Therefore I'm adding a "cleanup" argument to the macros, allowing to add any code necessary to clean the current function before returning.
This commit is contained in:
parent
d1118a5e15
commit
6c6cd2df24