diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-06-04 08:43:51 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-06-04 08:43:51 +0000 |
commit | 60edb8c9f7d94c74c0de00f6fff56cb5cecfc669 (patch) | |
tree | e8d674ba022fde60bafd2f44f77b14ea7d080970 /ucb | |
parent | e66702cc71cd068159fae86b90ce956ffd7c1a8d (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')
-rw-r--r-- | ucb/source/ucp/ftp/ftpinpstr.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpinpstr.cxx b/ucb/source/ucp/ftp/ftpinpstr.cxx index b5283cd75b..7600ddb6af 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); } |