diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2021-04-28 16:39:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-04-28 16:39:46 +0200 |
commit | d841e741994f3db2bbdef4a0e1c68542d6ca2887 (patch) | |
tree | 694dd14ca2e2d6f0c2b43b229cdbae7570398695 /gatchat/ppp_ipv6cp.c | |
parent | dbbbebf92d786b089508b70f87532613a3f76a03 (diff) | |
download | ofono-d841e741994f3db2bbdef4a0e1c68542d6ca2887.tar.gz |
treewide: Replace g_memdup with g_memdup2
Diffstat (limited to 'gatchat/ppp_ipv6cp.c')
-rw-r--r-- | gatchat/ppp_ipv6cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp_ipv6cp.c b/gatchat/ppp_ipv6cp.c index 94feaccd..ac2b7587 100644 --- a/gatchat/ppp_ipv6cp.c +++ b/gatchat/ppp_ipv6cp.c @@ -160,7 +160,7 @@ static enum rcr_result ipv6cp_server_rcr(struct ipv6cp_data *ipv6cp, if (len > 0) { *new_len = len; - *new_options = g_memdup(nak_options, len); + *new_options = g_memdup2(nak_options, len); return RCR_NAK; } |