Missed a bit of cleanup.

This commit is contained in:
Jack Moffitt
2012-02-08 08:52:16 -07:00
parent 128c155681
commit 7032ede88a

View File

@@ -260,6 +260,7 @@ void xmpp_log(const xmpp_ctx_t * const ctx,
if (!buf) {
buf = NULL;
xmpp_error(ctx, "log", "Failed allocating memory for log message.");
va_end(copy);
return;
}
oldret = ret;