XMPP: Fix a file descriptor leak.

This commit is contained in:
Joey Hess 2013-05-26 20:49:16 -04:00
parent 18b92f97fe
commit c092b4fc16
2 changed files with 2 additions and 0 deletions

View file

@ -137,6 +137,7 @@ xmppPush cid gitpush = do
liftIO $ do
mapM_ killThread [t1, t2]
mapM_ hClose [inh, outh, controlh]
closeFd writecontrol
return r
where

1
debian/changelog vendored
View file

@ -18,6 +18,7 @@ git-annex (4.20130522) UNRELEASED; urgency=low
* content: New command line way to view and configure a repository's
preferred content settings.
* sync: Fix double merge conflict resolution handling.
* XMPP: Fix a file descriptor leak.
-- Joey Hess <joeyh@debian.org> Tue, 21 May 2013 18:22:46 -0400