From 57db30a7523ca039c83b11c6b3f7df005c34c3c0 Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Fri, 30 Dec 2016 12:03:21 +0900 Subject: [PATCH] find_paths.cpp: fix memory leak Signed-off-by: Adrien Destugues fixes #13136 --- src/system/libroot/os/find_paths.cpp | 1 + 1 file changed, 1 insertion(+) 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; } }