diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fd81c57..6f4b04c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,7 +89,7 @@ jobs: sudo apt-get install -y \ libx11-dev libxext-dev libxrandr-dev libxrender-dev libxfixes-dev libxi-dev libxinerama-dev \ libxcursor-dev libwayland-dev libxkbcommon-dev wayland-protocols libgl1-mesa-dev qt6-base-dev \ - libasound2-dev qt6-xdgdesktopportal-platformtheme + libasound2-dev qt6-xdgdesktopportal-platformtheme libxss-dev libxtst-dev - name: Install macOS dependencies (brew) if: ${{ matrix.brew }} diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 5bd2d3eb..757436ad 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -1081,6 +1081,8 @@ bool IsleApp::LoadConfig() // [library:config] // Load sane defaults if dictionary failed to load if (!dict || dict->n == 0) { + iniparser_freedict(dict); + if (m_iniPath) { SDL_Log("Invalid config path '%s'", m_iniPath); return false;