about summary refs log tree commit diff
path: root/src/libunixonacid/textmessage_receiver_free.c
blob: fb029892b9a9233b4a224c9b202fb7074d392cc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/stralloc.h>
#include <skalibs/textmessage.h>

void textmessage_receiver_free (textmessage_receiver *ts)
{
  stralloc_free(&ts->indata) ;
  *ts = textmessage_receiver_zero ;
}