mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
small changes to memory managment
This commit is contained in:
@@ -218,7 +218,6 @@ void ffStrbufAppendVF(FFstrbuf* strbuf, const char* format, va_list arguments)
|
||||
va_list localArguments;
|
||||
va_copy(localArguments, arguments);
|
||||
|
||||
ffStrbufEnsureFree(strbuf, 256);
|
||||
uint32_t written = (uint32_t) vsnprintf(strbuf->chars + strbuf->length, strbuf->allocated - strbuf->length, format, localArguments);
|
||||
|
||||
va_end(localArguments);
|
||||
|
||||
Reference in New Issue
Block a user