summaryrefslogtreecommitdiffstats
path: root/contrib/isc-dhcp/omapip/alloc.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-01-16 07:04:57 +0000
committerobrien <obrien@FreeBSD.org>2003-01-16 07:04:57 +0000
commit8aff4de412d07787b5d5132fa31ed1c1bf8b3232 (patch)
tree0fa786b8784d9300adeaec9d3f5fec4b00c392f4 /contrib/isc-dhcp/omapip/alloc.c
parentcd674b5595767251fb09595b775802b0653c0ee9 (diff)
parent47bdc7b5368b79802e5768b4ac27bc5ec7812650 (diff)
downloadFreeBSD-src-8aff4de412d07787b5d5132fa31ed1c1bf8b3232.zip
FreeBSD-src-8aff4de412d07787b5d5132fa31ed1c1bf8b3232.tar.gz
This commit was generated by cvs2svn to compensate for changes in r109357,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/isc-dhcp/omapip/alloc.c')
-rw-r--r--contrib/isc-dhcp/omapip/alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/omapip/alloc.c b/contrib/isc-dhcp/omapip/alloc.c
index 245bdaf..8153a4b 100644
--- a/contrib/isc-dhcp/omapip/alloc.c
+++ b/contrib/isc-dhcp/omapip/alloc.c
@@ -4,7 +4,7 @@
protocol... */
/*
- * Copyright (c) 1999-2001 Internet Software Consortium.
+ * Copyright (c) 1999-2003 Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -820,8 +820,10 @@ isc_result_t omapi_typed_data_new (const char *file, int line,
obj = va_arg (l, omapi_object_t *);
break;
default:
+ va_end (l);
return ISC_R_INVALIDARG;
}
+ va_end (l);
new = dmalloc (len, file, line);
if (!new)
OpenPOWER on IntegriCloud