Skip to content

Commit d9469a2

Browse files
committed
MT#55283 fix memdup2 usage (again)
Change-Id: I51a0ca43648c499384eed11ff5988f72a3fbd158
1 parent 9542cc0 commit d9469a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/nftables.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static void check_matched_queue(struct nftnl_rule *r, struct iterate_callbacks *
112112
return;
113113

114114
uint64_t handle = nftnl_rule_get_u64(r, NFTNL_RULE_HANDLE);
115-
g_queue_push_tail(&callbacks->iterate_scratch.handles, g_memdup2(&handle, sizeof(handle)));
115+
g_queue_push_tail(&callbacks->iterate_scratch.handles, __g_memdup(&handle, sizeof(handle)));
116116
}
117117

118118

0 commit comments

Comments
 (0)