8 lines
117 B
C
8 lines
117 B
C
24 years ago
|
#include <stdlib.h>
|
||
|
#include "stralloc.h"
|
||
|
|
||
|
void stralloc_free(stralloc *sa) {
|
||
|
if (sa->s) free(sa->s);
|
||
|
sa->s=0;
|
||
|
}
|