Prevent NPE during fetch and push via SSH

Bug: 340928
Change-Id: I870b77eeffa70a57891d7253a06ad7d44d808ee4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2011-03-24 19:01:50 -07:00
parent 0b5ad24915
commit 5152ed8e2e
1 changed files with 4 additions and 2 deletions

View File

@ -290,7 +290,8 @@ public void close() {
}
super.close();
process.destroy();
if (process != null)
process.destroy();
}
}
@ -347,7 +348,8 @@ public void close() {
}
super.close();
process.destroy();
if (process != null)
process.destroy();
}
}
}