diff options
author | Pavol Rusnak <stick@gk2.sk> | 2016-10-25 11:03:39 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-31 23:21:15 +0300 |
commit | 3679ee9b520db96772ef0917d0a108180aa70114 (patch) | |
tree | c45cae8fe831b6eb481c460a326a4a23428c4d30 /py/warning.c | |
parent | e377f3cb40b34a562ff71753c112edec3d1bd4d1 (diff) |
py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c
Diffstat (limited to 'py/warning.c')
-rw-r--r-- | py/warning.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/warning.c b/py/warning.c index eae145bd3..4cdf3b3f1 100644 --- a/py/warning.c +++ b/py/warning.c @@ -38,6 +38,7 @@ void mp_warning(const char *msg, ...) { mp_print_str(&mp_plat_print, "Warning: "); mp_vprintf(&mp_plat_print, msg, args); mp_print_str(&mp_plat_print, "\n"); + va_end(args); } void mp_emitter_warning(pass_kind_t pass, const char *msg) { |