From: Ted Lemon Date: Tue, 19 Oct 1999 15:35:16 +0000 (+0000) Subject: Initialize head of buffers in allocator, just to be sure. X-Git-Tag: BCTEL_SPECIAL_19991124~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf550084b01aea879e5ec92482d1cb9c7d1be20;p=thirdparty%2Fdhcp.git Initialize head of buffers in allocator, just to be sure. --- diff --git a/omapip/alloc.c b/omapip/alloc.c index 67d32120c..11b55b562 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -151,6 +151,7 @@ isc_result_t omapi_buffer_new (omapi_buffer_t **h, status = omapi_buffer_reference (h, t, name); if (status != ISC_R_SUCCESS) free (t); + (*h) -> head = sizeof ((*h) -> buf) - 1; return status; }