Perf: Fix crash when loading config
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Feb 2016 00:41:40 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/test/perf-main.c
→
src/platform/test/perf-main.c
@@ -98,7 +98,7 @@ mCoreConfigInit(&core->config, "perf");
mCoreConfigLoad(&core->config); mCoreConfigSetDefaultIntValue(&core->config, "idleOptimization", IDLE_LOOP_REMOVE); - struct mCoreOptions opts; + struct mCoreOptions opts = {}; mCoreConfigMap(&core->config, &opts); opts.audioSync = false; opts.videoSync = false;