Philip Withnall 5d1d065ac3 gio: Use g_memdup2() instead of g_memdup() in obvious places
Convert all the call sites which use `g_memdup()`’s length argument
trivially (for example, by passing a `sizeof()`), so that they use
`g_memdup2()` instead.

In almost all of these cases the use of `g_memdup()` would not have
caused problems, but it will soon be deprecated, so best port away from
it.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #2319
(cherry picked from commit be8834340a2d928ece82025463ae23dee2c333d0)
2021-07-14 10:53:03 -04:00
..
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-02-21 13:57:10 +00:00