summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-06-04 08:43:51 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-06-04 08:43:51 +0000
commit5361a7d719663530b464d7a5b4ee61295ae913e9 (patch)
treefcf5f090a614684ad27d755c1cffa39fff026a5b /ucb/source
parent82090ca58145da14b43d510eee4d51b921b905d9 (diff)
INTEGRATION: CWS tkr10 (1.8.104); FILE MERGED
2008/05/19 09:26:45 tkr 1.8.104.2: RESYNC: (1.8-1.9); FILE MERGED 2008/03/18 12:42:39 tkr 1.8.104.1: #i87099# OOo crashed after basic kill command on ftp url
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ftp/ftpinpstr.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpinpstr.cxx b/ucb/source/ucp/ftp/ftpinpstr.cxx
index 92f8e6ccdcd1..91b283271eb3 100644
--- a/ucb/source/ucp/ftp/ftpinpstr.cxx
+++ b/ucb/source/ucp/ftp/ftpinpstr.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ftpinpstr.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -67,7 +67,8 @@ FTPInputStream::FTPInputStream(FILE* tmpfl)
FTPInputStream::~FTPInputStream()
{
- fclose(m_tmpfl);
+ if ( 0 != m_tmpfl)
+ fclose(m_tmpfl);
}