diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 50a1a4340a..8b2e6a6327 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -407,6 +407,9 @@ void LauncherDialog::addGame() { // ...so let's determine a list of candidates, games that // could be contained in the specified directory. DetectedGameList candidates(PluginManager::instance().detectGames(*files)); + + delete files; + files = 0; int idx; if (candidates.isEmpty()) { |