Skip to content

Commit

Permalink
src/core.c: Add missing calls to va_end
Browse files Browse the repository at this point in the history
  • Loading branch information
nnicandro committed Feb 14, 2023
1 parent a6ad9cc commit 8bd03b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ezmq_signal(emacs_value err, int nargs, ...)
data[i] = va_arg(args, emacs_value);
}
SIGNAL(err, FUNCALL(Qlist, nargs, data));
va_end(args);
}

static void
Expand Down Expand Up @@ -126,6 +127,7 @@ ezmq_wrong_type_argument(emacs_value val, int nvalid, ...)
} else {
SIGNAL(Qwrong_type_argument, LIST(1, val));
}
va_end(args);
}

void
Expand Down

0 comments on commit 8bd03b1

Please sign in to comment.