From: Christoph Egger Date: Tue, 26 May 2015 19:23:25 +0000 (+0200) Subject: Create a Settings object in fridatest as well X-Git-Tag: v0.2~1 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=36d271e5ec9a1877323adfd496f4877359ad73d7;p=frida%2Ffrida.git Create a Settings object in fridatest as well Otherwise it just segfaults! --- diff --git a/src/test.cxx b/src/test.cxx index 66cde12..ea8c473 100644 --- a/src/test.cxx +++ b/src/test.cxx @@ -3,6 +3,7 @@ #include "log4cxx/basicconfigurator.h" #include #include "Config.hxx" +#include "core/Settings.hxx" const char* TEST_DATA_DIRECTORY; @@ -14,6 +15,7 @@ int main(int argc, char **argv) { log4cxx::Logger::getRootLogger()->setLevel(level); QApplication::addLibraryPath(CONFIG_LIBDIR); + Settings settings; if (argc > 1) TEST_DATA_DIRECTORY = argv[1]; else