]> andersk Git - splint.git/blame - test/freearray.c
noexpand always false.
[splint.git] / test / freearray.c
CommitLineData
80ee600a 1typedef /*@only@*/ char *ocp;
2
3static /*@only@*/ ocp *stringTable;
4static int stringTableSize;
5
6void destroyMod (void)
7 /*@globals killed stringTable@*/
8{
9 int i;
10
11 for (i = 0; i < stringTableSize; i++)
12 {
13 free (stringTable[i]);
14 }
15
16 free (stringTable); /* okay */
17}
18
19void destroyMod2 (void)
20 /*@globals killed stringTable@*/
21{
22 free (stringTable); /* error */
23}
This page took 1.517957 seconds and 5 git commands to generate.