aboutsummaryrefslogtreecommitdiffstats
path: root/src/zfree.c
blob: f75bb38284d55ecfd622418f6b6d7645e5d2a11f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* See LICENSE file for copyright and license details. */
#include "internals"

#include <stdlib.h>


void
zfree(z_t a)
{
	free(a->chars);
	a->alloced = 0;
	a->chars = 0;
}