diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 18:59:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 18:59:13 +0200 |
commit | 40677a29093b8e47dfdc17a251845624c57430f6 (patch) | |
tree | 3ab33b9f8f04734df6b7ccd5198bd6dcbb38d1a1 | |
parent | 7635e0c1c7f821a1081f8e3868f641ae74a172d6 (diff) |
Fix missing deref
...lacking since recent f0454e72c1d1b11c3bcbacb23048a62fdecd037c "Use
std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxx"
Change-Id: Ied39be52ccc8cbef48cdfb4933e4ac1914fd0fd3
-rw-r--r-- | jvmfwk/source/framework.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 9eeee6a75249..5bfa77695e83 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -660,7 +660,7 @@ javaFrameworkError jfw_getSelectedJRE(std::unique_ptr<JavaInfo> *ppInfo) const jfw::MergedSettings settings; ppInfo->reset(settings.createJavaInfo()); - if (! ppInfo) + if (!*ppInfo) { return JFW_E_NONE; } |