/*
 * reimplementation of Daniel Bernstein's unix library.
 * placed in the public domain by Uwe Ohse, uwe@ohse.de.
 */
#include "stralloc.h"
#include "alloc.h"

void stralloc_free(stralloc *sa)
{
	alloc_free(sa->s);
	sa->s = 0;
	sa->len = sa->a = 0;
}



syntax highlighted by Code2HTML, v. 0.9.1