[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/kioslave/sftp
From: İsmail Dönmez <ismail () kde ! org>
Date: 2008-01-21 23:29:37
Message-ID: 1200958177.729401.20783.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 764498 by cartman:
Don't leak fd in case ok error
M +1 -0 process.cpp
--- trunk/KDE/kdebase/runtime/kioslave/sftp/process.cpp #764497:764498
@@ -204,6 +204,7 @@
ok &= socketpair(AF_UNIX, SOCK_STREAM, 0, err ) >= 0;
if( !ok ) {
kDebug(PTYPROC) << "Could not create socket";
+ close(slave);
return -1;
}
m_stdinout = inout[0];
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic