summaryrefslogtreecommitdiff
path: root/tests/gvdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gvdb.c')
-rw-r--r--tests/gvdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gvdb.c b/tests/gvdb.c
index 765f4b8..90f933c 100644
--- a/tests/gvdb.c
+++ b/tests/gvdb.c
@@ -361,7 +361,7 @@ test_corrupted (gconstpointer user_data)
orig = g_mapped_file_get_contents (mapped);
length = g_mapped_file_get_length (mapped);
- copy = g_memdup (orig, length);
+ copy = g_memdup2 (orig, length);
for (i = 0; i < 10000; i++)
{