aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/perf/BlastBasePerfTest.h4
-rw-r--r--test/src/perf/SolverPerfTests.cpp4
2 files changed, 5 insertions, 3 deletions
diff --git a/test/src/perf/BlastBasePerfTest.h b/test/src/perf/BlastBasePerfTest.h
index fd0ba74..c3d252a 100644
--- a/test/src/perf/BlastBasePerfTest.h
+++ b/test/src/perf/BlastBasePerfTest.h
@@ -229,8 +229,10 @@ static const char* getPlatformRoot()
return "/app0/";
#elif NV_XBOXONE
return "G:/";
-#else
+#elif NV_LINUX
return "../../";
+#else
+ return "../../../";
#endif
}
diff --git a/test/src/perf/SolverPerfTests.cpp b/test/src/perf/SolverPerfTests.cpp
index 673d7a1..dfc5bc1 100644
--- a/test/src/perf/SolverPerfTests.cpp
+++ b/test/src/perf/SolverPerfTests.cpp
@@ -210,11 +210,11 @@ public:
std::for_each(actors.begin(), actors.end(), [](NvBlastActor* a){ NvBlastActorDeactivate(a, messageLog); });
actors.clear();
- free(family);
+ alignedFree(family);
}
// Release asset data
- free(asset);
+ alignedFree(asset);
}
}
}