MT#55283 fix memdup2 usage (again)

Change-Id: I51a0ca43648c499384eed11ff5988f72a3fbd158
mr13.3
Richard Fuchs 4 weeks ago
parent 9542cc0f3f
commit d9469a22c2

@ -112,7 +112,7 @@ static void check_matched_queue(struct nftnl_rule *r, struct iterate_callbacks *
return; return;
uint64_t handle = nftnl_rule_get_u64(r, NFTNL_RULE_HANDLE); uint64_t handle = nftnl_rule_get_u64(r, NFTNL_RULE_HANDLE);
g_queue_push_tail(&callbacks->iterate_scratch.handles, g_memdup2(&handle, sizeof(handle))); g_queue_push_tail(&callbacks->iterate_scratch.handles, __g_memdup(&handle, sizeof(handle)));
} }

Loading…
Cancel
Save