mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Fix a silly malloc bug in mrtrace.
This commit is contained in:
@@ -133,7 +133,7 @@ void trace_mr_statp_setup (res_state statp)
|
||||
if (trace_record ()) {
|
||||
trace_iov_t *iov;
|
||||
iov = dmalloc ((statp -> nscount *
|
||||
sizeof (struct in_addr)), MDL);
|
||||
sizeof (trace_iov_t)), MDL);
|
||||
if (!iov) {
|
||||
trace_stop ();
|
||||
log_error ("No memory for statp iov.");
|
||||
|
Reference in New Issue
Block a user