Max Reitz
02004bd4ba
qcow2: Use g_try_new0() for cache array
...
With a variable cache size, the number given to qcow2_cache_create() may
be huge. Therefore, use g_try_new0().
While at it, use g_new0() instead of g_malloc0() for allocating the
Qcow2Cache object.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-08-20 11:51:28 +02:00
..
2014-08-20 11:51:28 +02:00
2014-07-09 15:50:11 +02:00
2014-08-15 18:03:11 +01:00
2014-06-04 09:56:11 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:15 +02:00
2014-07-01 10:47:01 +02:00
2014-07-01 10:15:34 +02:00
2014-08-15 15:07:15 +02:00
2014-08-15 15:07:15 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-07-15 15:34:13 +02:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:16 +02:00
2014-06-04 09:56:11 +02:00
2014-06-04 09:56:11 +02:00
2014-06-04 09:56:11 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:14 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2011-08-20 23:01:08 -05:00
2011-08-20 23:01:08 -05:00
2012-03-12 15:14:06 +01:00
2014-06-04 09:56:11 +02:00
2014-08-15 15:07:15 +02:00
2014-07-14 12:03:20 +02:00
2014-06-27 14:18:17 +02:00
2014-07-18 13:18:43 +01:00
2014-07-07 11:05:17 +02:00
2014-08-20 11:51:28 +02:00
2014-06-16 17:23:21 +08:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-02-17 11:57:23 -05:00
2014-06-16 17:23:21 +08:00
2014-07-18 13:18:43 +01:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:14 +02:00
2014-08-20 11:51:28 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:14 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:16 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:16 +02:00