summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixconnection_free.c
blob: a10ebe4d973a8901ce09a0103afd95430a6d59c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
 /* ISC license. */

#include <skalibs/unixmessage.h>
#include <skalibs/unixconnection.h>

void unixconnection_free (unixconnection *io)
{
  unixmessage_sender_free(&io->out) ;
  unixmessage_receiver_free(&io->in) ;
  *io = unixconnection_zero ;
}