diff --git a/src/system/libroot/os/find_paths.cpp b/src/system/libroot/os/find_paths.cpp index 076eaa0085..2660cd12c9 100644 --- a/src/system/libroot/os/find_paths.cpp +++ b/src/system/libroot/os/find_paths.cpp @@ -125,6 +125,7 @@ public: homeInstallationLocation); if (locations != NULL && locations->IsValid()) return locations; + delete locations; } }