From 60abe24450a8d02b0a0f85c40190f26472fb5ab8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Mar 2021 09:38:37 -0400 Subject: db_games_find(): Check scandir() return value Fixes a bad calloc() if the games directory is empty or not found. --- (limited to 'src/main.c') -- cgit v0.9.1