goto cleanup;
}
- if (VIR_ALLOC_N(bytes, want) < 0)
- goto cleanup;
+ bytes = g_new0(char, want);
errno = 0;
for (;;) {
goto cleanup;
}
- if (VIR_ALLOC_N(bytes, bufLen) < 0)
- goto cleanup;
+ bytes = g_new0(char, bufLen);
errno = 0;
for (;;) {
}
- if (VIR_ALLOC_N(bytes, want) < 0)
- goto cleanup;
+ bytes = g_new0(char, want);
errno = 0;
for (;;) {
goto cleanup;
}
- if (VIR_ALLOC_N(bytes, want) < 0)
- goto cleanup;
+ bytes = g_new0(char, want);
errno = 0;
for (;;) {