Kaydet (Commit) e77235e8 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Noel Grandin

xmerge: ensure that the stream is cleaned up before the method returns

Change-Id: I377ae1a7b71c207313ad3468a51b1ab06b9fffd5
Reviewed-on: https://gerrit.libreoffice.org/11939Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 3c27e316
......@@ -147,6 +147,13 @@ public final class PluginFactoryImpl extends PluginFactory
} catch (Exception e) {
// It is okay for the property file to not exist.
} finally {
try {
if (is != null) {
is.close();
}
} catch (IOException ex) {
}
}
return ext;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment