diff options
Diffstat (limited to 'src/libunixonacid/unixmessage_receiver_free.c')
-rw-r--r-- | src/libunixonacid/unixmessage_receiver_free.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libunixonacid/unixmessage_receiver_free.c b/src/libunixonacid/unixmessage_receiver_free.c index c23cc77..353797b 100644 --- a/src/libunixonacid/unixmessage_receiver_free.c +++ b/src/libunixonacid/unixmessage_receiver_free.c @@ -5,7 +5,8 @@ void unixmessage_receiver_free (unixmessage_receiver_t *b) { - stralloc_free(&b->data) ; - b->mainb.fd = -1 ; - b->mainlen = b->auxlen = b->auxw = 0 ; + b->fd = -1 ; + stralloc_free(&b->maindata) ; + stralloc_free(&b->auxdata) ; + b->mainlen = b->auxlen = 0 ; } |