From: Alan T. DeKok Date: Sat, 4 Feb 2017 14:28:53 +0000 (-0500) Subject: add missing va_end X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031d6acc41cf5b4655fc924aaf702fccedc2c7d6;p=thirdparty%2Ffreeradius-server.git add missing va_end --- diff --git a/src/lib/print.c b/src/lib/print.c index fd615d1e567..dc4bc650e70 100644 --- a/src/lib/print.c +++ b/src/lib/print.c @@ -615,6 +615,8 @@ char *fr_vasprintf(TALLOC_CTX *ctx, char const *fmt, va_list ap) subst = value_box_asprint(NULL, in, '"'); if (!subst) { talloc_free(out); + va_end(ap_p); + va_end(ap_q); return NULL; }