Peter Krempa 241057681a util: buffer: Simplify escape buffer allocations
Replace combinations of xalloc_oversized and VIR_ALLOC_N_QUIET by using
g_malloc0_n which does the checking internally.

This conversion is done with a semantic difference and slightly higher
memory requirements as I've opted to allocate one chunk more than
necessary rather than trying to accomodate the NUL byte separately.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-10-24 19:35:34 +02:00
..
2019-10-16 15:59:41 +02:00
2019-08-08 07:31:03 -05:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-24 08:10:37 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:43 +02:00
2019-08-22 16:46:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:43 +02:00
2019-10-16 12:06:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:43 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-16 12:06:44 +02:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:44 +02:00