Missed a bit of cleanup.
This commit is contained in:
@@ -260,6 +260,7 @@ void xmpp_log(const xmpp_ctx_t * const ctx,
|
|||||||
if (!buf) {
|
if (!buf) {
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
xmpp_error(ctx, "log", "Failed allocating memory for log message.");
|
xmpp_error(ctx, "log", "Failed allocating memory for log message.");
|
||||||
|
va_end(copy);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
oldret = ret;
|
oldret = ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user