You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
181 B
C
10 lines
181 B
C
16 years ago
|
#include <stdlib.h>
|
||
|
#include "iarray.h"
|
||
|
|
||
|
void iarray_free(iarray* ia) {
|
||
|
size_t i;
|
||
|
for (i=0; i<ia->pagefence; ++i)
|
||
|
if (ia->pages[i]) free(ia->pages[i]);
|
||
|
free(ia->pages);
|
||
|
}
|