Skip to content

tests: Use g_memdup2

Matt Turner requested to merge mattst88/dconf:g_memdup2 into master
../tests/gvdb.c: In function ‘test_corrupted’:
../tests/gvdb.c:364:7: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations]
  364 |       copy = g_memdup (orig, length);
      |       ^~~~

Merge request reports