Philip Withnall
c1ded863f0
gobject: 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 6110caea45b235420b98cd41d845cc92238f6781)
2021-07-01 16:05:25 -05:00
..
2021-07-01 16:05:25 -05:00
2017-07-10 11:22:40 +01:00
2009-03-31 19:39:16 -04:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2018-01-01 17:23:16 +00:00
2017-05-24 11:58:19 +02:00
2017-10-11 12:13:20 +01:00
2017-05-24 11:58:19 +02:00
2017-11-29 17:50:27 +00:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2018-04-23 16:26:00 +01:00
2018-03-21 15:12:47 +00:00
2017-05-24 11:58:19 +02:00
2016-11-22 14:14:37 -08:00
2013-01-13 13:13:55 -05:00
2018-03-13 11:28:06 +00:00
2012-10-15 19:48:44 -04:00
2017-05-24 11:58:19 +02:00
2017-08-16 16:19:28 +03:00
2017-05-24 11:58:19 +02:00
2018-02-14 15:11:11 +00:00
2018-04-20 11:32:37 +01:00
2018-01-04 22:19:30 +01:00
2016-11-23 10:50:39 +00:00
2017-05-24 11:58:19 +02:00
2017-11-01 11:13:27 +00:00
2017-05-24 11:58:19 +02:00
2018-05-04 18:20:22 +01:00
2018-05-04 18:20:22 +01:00
2021-07-01 16:05:25 -05:00
2017-05-24 11:58:19 +02:00
2017-11-29 17:51:19 +00:00
2017-05-24 11:58:19 +02:00
2017-06-14 14:45:45 -04:00
2021-07-01 16:05:25 -05:00
2018-02-16 17:42:55 +00:00
2021-07-01 16:05:25 -05:00
2018-01-12 15:29:29 +00:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2018-02-08 14:28:32 +00:00
2017-09-11 21:11:55 +01:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-11-28 14:29:36 +00:00
2017-05-24 11:58:19 +02:00
2016-05-23 10:52:10 -04:00
2021-06-23 10:03:59 -05:00
2018-02-21 13:57:10 +00:00