mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
sizeof style
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: interfaceiter.c,v 1.24 2001/10/22 04:01:32 marka Exp $ */
|
||||
/* $Id: interfaceiter.c,v 1.25 2001/11/27 01:56:16 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -151,6 +151,6 @@ isc_interfaceiter_destroy(isc_interfaceiter_t **iterp)
|
||||
isc_mem_put(iter->mctx, iter->buf, iter->bufsize);
|
||||
|
||||
iter->magic = 0;
|
||||
isc_mem_put(iter->mctx, iter, sizeof *iter);
|
||||
isc_mem_put(iter->mctx, iter, sizeof(*iter));
|
||||
*iterp = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user