fix for NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH. Issue #778

This commit is contained in:
Roman Ivanov 2015-04-07 16:15:15 -07:00
parent 8f047f2ebd
commit 547fb51b1d
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ final class PropertyCacheFile
.debug("Unable to save cache file.", e);
}
finally {
this.flushAndCloseOutStream(out);
if (out != null) {
this.flushAndCloseOutStream(out);
}
}
}
}