summaryrefslogtreecommitdiff
path: root/src/libunixonacid/textmessage_receiver_free.c
blob: 037e23bd8ef5e46c13b2d34ff4aa9a3a77d76397 (plain)
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_t *ts)
{
  stralloc_free(&ts->indata) ;
  *ts = textmessage_receiver_zero ;
}