Some were missed, found by coverity
i_stream_unref(&client->in);
o_stream_unref(&client->os_body);
i_stream_unref(&client->body);
- close(client->fd);
+ i_close_fd(&client->fd);
pool_unref(&client->pool);
test_globals.client = NULL;
test_program_io_loop_stop();
i_stream_unref(&right_in);
/* close fd */
- close(sfdl[0]);
- close(sfdl[1]);
- close(sfdr[0]);
- close(sfdr[1]);
+ i_close_fd(&sfdl[0]);
+ i_close_fd(&sfdl[1]);
+ i_close_fd(&sfdr[0]);
+ i_close_fd(&sfdr[1]);
test_end();
}
unsetenv("NOTIFY_SOCKET");
if (fd >= 0)
- close(fd);
+ (void)close(fd);
return r;
#endif
(float)input->v_offset * 100.0);
i_stream_unref(&input);
- close(fd);
+ i_close_fd(&fd);
i_array_init(&definite_uids, 128);
i_array_init(&maybe_uids, 128);