[gnome-builder] dspy: use g_memdup2()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] dspy: use g_memdup2()
- Date: Wed, 24 Feb 2021 06:07:13 +0000 (UTC)
commit d375be337c8d0f497a76d28fffde36dc8cd872d2
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 23 22:06:55 2021 -0800
dspy: use g_memdup2()
src/plugins/dspy/libdspy/dspy-names-model.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/dspy/libdspy/dspy-names-model.c b/src/plugins/dspy/libdspy/dspy-names-model.c
index b7b2392f0..4696b9c5f 100644
--- a/src/plugins/dspy/libdspy/dspy-names-model.c
+++ b/src/plugins/dspy/libdspy/dspy-names-model.c
@@ -385,7 +385,7 @@ dspy_names_model_init_async (GAsyncInitable *initable,
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_priority (task, io_priority);
g_task_set_source_tag (task, dspy_names_model_init_async);
- g_task_set_task_data (task, g_memdup (&n_active, sizeof n_active), g_free);
+ g_task_set_task_data (task, g_memdup2 (&n_active, sizeof n_active), g_free);
if (self->connection == NULL)
g_task_return_new_error (task,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]