NetworkClient: fix filedescriptor leaks
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 22 Jun 2012 18:58:57 +0000 (20:58 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 22 Jun 2012 18:58:57 +0000 (20:58 +0200)
commit1e62641ed3334a62c2bd58c537cc2a3eb75653f0
tree0139dcc15b3931ce1fd7a301c74bfeb003c2455b
parentb6b7232c3d43b56d6606eecd9ae84a396ba8ff25
NetworkClient: fix filedescriptor leaks

  - in all cases where we're done with the spoolfile we need to close its handle & flush the FDIO buffer if already alloc'd
citadel/modules/network/serv_networkclient.c