2 compdestroy.c: (in function sip_free2)
3 compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
4 storage is not released (memory leak): x->ips
6 Finished checking --- 1 code warning, as expected
8 compdestroy.c: (in function sip_free)
9 compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
10 storage may not have been released: x->ips
11 compdestroy.c: (in function sip_free2)
12 compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
13 storage is not released (memory leak): x->ips
15 Finished checking --- 2 code warnings, as expected
17 compdestroy.c: (in function sip_free)
18 compdestroy.c:16:13: Possibly dead storage x->ips[] passed as out parameter:
20 compdestroy.c:15:13: Storage x->ips[] possibly released
21 compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
22 storage may not have been released: x->ips
23 compdestroy.c: (in function sip_free2)
24 compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
25 storage is not released (memory leak): x->ips
27 Finished checking --- 3 code warnings, as expected
29 compdestroy.c: (in function sip_free)
30 compdestroy.c:16:13: Possibly dead storage x->ips[] passed as out parameter:
32 compdestroy.c:15:13: Storage x->ips[] possibly released
33 compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
34 storage may not have been released: x->ips
35 compdestroy.c:15:13: Possible out-of-bounds read: x->ips[i]
36 Unable to resolve constraint:
37 requires maxRead(x->ips @ compdestroy.c:15:13) >= i @ compdestroy.c:15:20
38 needed to satisfy precondition:
39 requires maxRead(x->ips @ compdestroy.c:15:13) >= i @ compdestroy.c:15:20
40 compdestroy.c: (in function sip_free2)
41 compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
42 storage is not released (memory leak): x->ips
44 Finished checking --- 4 code warnings, as expected