1 typedef struct _node
*node
;
12 void node_free1 (/*@only@*/ node n
)
14 free (n
); /* 2 errors: must free n->next, n->val */
17 void node_free2 (/*@only@*/ node n
)
20 free (n
); /* error: must free n->val */
21 } /* error - nn not released */
23 void node_free3 (/*@only@*/ node n
)
29 node_free1 (nn
); /* okay (error for null) */