libowfat/stralloc/stralloc_free.c
2001-02-02 17:54:47 +00:00

8 lines
117 B
C

#include <stdlib.h>
#include "stralloc.h"
void stralloc_free(stralloc *sa) {
if (sa->s) free(sa->s);
sa->s=0;
}