stralloc_free.c (162B)
1 /* ISC license. */ 2 3 #include <skalibs/alloc.h> 4 #include <skalibs/stralloc.h> 5 6 void stralloc_free (stralloc *sa) 7 { 8 alloc_free(sa->s) ; 9 *sa = stralloc_zero ; 10 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |