From 0470de0e450b7623254967593fb524db781c44e2 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 22 Oct 2021 14:31:13 +0300 Subject: Cleanup Very minor memory leaks. --- src/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.c') diff --git a/src/app.c b/src/app.c index b6a73c55..36930697 100644 --- a/src/app.c +++ b/src/app.c @@ -798,8 +798,8 @@ static void init_App_(iApp *d, int argc, char **argv) { init_SortedArray(&d->tickers, sizeof(iTicker), cmp_Ticker_); d->lastTickerTime = SDL_GetTicks(); d->elapsedSinceLastTicker = 0; - d->commandEcho = checkArgument_CommandLine(&d->args, "echo;E") != NULL; - d->forceSoftwareRender = checkArgument_CommandLine(&d->args, "sw") != NULL; + d->commandEcho = iClob(checkArgument_CommandLine(&d->args, "echo;E")) != NULL; + d->forceSoftwareRender = iClob(checkArgument_CommandLine(&d->args, "sw")) != NULL; d->initialWindowRect = init_Rect(-1, -1, 900, 560); #if defined (iPlatformMsys) /* Must scale by UI scaling factor. */ -- cgit v1.2.3