summaryrefslogtreecommitdiff
path: root/gatchat/gatmux.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2021-04-28 16:39:46 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-04-28 16:39:46 +0200
commitd841e741994f3db2bbdef4a0e1c68542d6ca2887 (patch)
tree694dd14ca2e2d6f0c2b43b229cdbae7570398695 /gatchat/gatmux.c
parentdbbbebf92d786b089508b70f87532613a3f76a03 (diff)
downloadofono-d841e741994f3db2bbdef4a0e1c68542d6ca2887.tar.gz
treewide: Replace g_memdup with g_memdup2
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r--gatchat/gatmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c
index 4d89f039..2e4ce9fe 100644
--- a/gatchat/gatmux.c
+++ b/gatchat/gatmux.c
@@ -908,7 +908,7 @@ static void mux_query_cb(gboolean ok, GAtResult *result, gpointer user_data)
} else
goto error;
- nmsd = g_memdup(msd, sizeof(struct mux_setup_data));
+ nmsd = g_memdup2(msd, sizeof(struct mux_setup_data));
g_at_chat_ref(nmsd->chat);
if (speed < 0)