Unverified Commit 41995b46 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

avoid false positives about memory leaks in force tester tools

parent 547137f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ LAMMPS *init_lammps(int argc, char **argv, const TestConfig &cfg, const bool new

        if (!info->has_style(prerequisite.first, style)) ++nfail;
    }
    if (nfail > 0) {
    delete info;
    if (nfail > 0) {
        cleanup_lammps(lmp, cfg);
        return nullptr;
    }
+1 −1
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ LAMMPS *init_lammps(int argc, char **argv, const TestConfig &cfg, const bool new

        if (!info->has_style(prerequisite.first, style)) ++nfail;
    }
    if (nfail > 0) {
    delete info;
    if (nfail > 0) {
        cleanup_lammps(lmp, cfg);
        return nullptr;
    }
+1 −1
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ LAMMPS *init_lammps(int argc, char **argv, const TestConfig &cfg, const bool new

        if (!info->has_style(prerequisite.first, style)) ++nfail;
    }
    if (nfail > 0) {
    delete info;
    if (nfail > 0) {
        cleanup_lammps(lmp, cfg);
        return nullptr;
    }