Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
LoveSy committed Dec 3, 2020
1 parent 4107daa commit 6a82138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edxp-core/src/main/cpp/main/src/config_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ namespace edxp {
}

auto ConfigManager::GetInjectDexPaths() -> decltype(inject_dex_paths_) {
if (inject_dex_paths_.empty()) {
if (!inject_dex_paths_.empty()) {
std::transform(kXposedInjectDexPath.begin(), kXposedInjectDexPath.end(),
std::back_inserter(inject_dex_paths_),
[](auto i) {
Expand Down

0 comments on commit 6a82138

Please sign in to comment.