find_paths.cpp: fix memory leak
Signed-off-by: Adrien Destugues <[email protected]> fixes #13136
This commit is contained in:
committed by
Adrien Destugues
parent
22e3e14aab
commit
57db30a752
@@ -125,6 +125,7 @@ public:
|
||||
homeInstallationLocation);
|
||||
if (locations != NULL && locations->IsValid())
|
||||
return locations;
|
||||
delete locations;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user