git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright updates
[exim.git]
/
src
/
exim_monitor
/
em_xs.c
diff --git
a/src/exim_monitor/em_xs.c
b/src/exim_monitor/em_xs.c
index b145fb993f62e4990ceeb67a66912ce25e84d332..ac36b8f58a27a68baa5bef6dbc5d742af77a5144 100644
(file)
--- a/
src/exim_monitor/em_xs.c
+++ b/
src/exim_monitor/em_xs.c
@@
-4,6
+4,7
@@
/* Copyright (c) University of Cambridge, 1995 - 2016 */
/* See the file NOTICE for conditions of use and distribution. */
/* Copyright (c) University of Cambridge, 1995 - 2016 */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* This file contains a number of subroutines that are in effect
just alternative packaging for calls to various X functions that
/* This file contains a number of subroutines that are in effect
just alternative packaging for calls to various X functions that
@@
-30,7
+31,7
@@
void xs_SetValues(Widget w, Cardinal num_args, ...)
{
int i;
va_list ap;
{
int i;
va_list ap;
-Arg *aa = (num_args > 15)?
(Arg *)
malloc(num_args*sizeof(Arg)) : xs_temparg;
+Arg *aa = (num_args > 15)?
store_
malloc(num_args*sizeof(Arg)) : xs_temparg;
va_start(ap, num_args);
for (i = 0; i < num_args; i++)
{
va_start(ap, num_args);
for (i = 0; i < num_args; i++)
{
@@
-39,7
+40,7
@@
for (i = 0; i < num_args; i++)
}
va_end(ap);
XtSetValues(w, aa, num_args);
}
va_end(ap);
XtSetValues(w, aa, num_args);
-if (num_args > 15) free(aa);
+if (num_args > 15)
store_
free(aa);
}
/* End of em_xs.c */
}
/* End of em_xs.c */