diff options
Diffstat (limited to 'contrib/isc-dhcp/omapip/alloc.c')
-rw-r--r-- | contrib/isc-dhcp/omapip/alloc.c | 4 |
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) |