mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 21:26:36 +00:00
st/oxr: Port logger realloc to helper macro
This commit is contained in:
parent
c9f1b2be4b
commit
06ce6617f5
|
@ -134,7 +134,7 @@ oxr_slog_ensure(struct oxr_sink_logger *slog, size_t extra)
|
|||
slog->store_size += 1024;
|
||||
}
|
||||
|
||||
slog->store = (char *)realloc(slog->store, slog->store_size);
|
||||
U_ARRAY_REALLOC_OR_FREE(slog->store, char, slog->store_size);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue