]> andersk Git - splint.git/blame_incremental - test/compdestroy.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / compdestroy.expect
... / ...
CommitLineData
1
2compdestroy.c: (in function sip_free2)
3compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
4 storage is not released (memory leak): x->ips
5
6Finished checking --- 1 code warning, as expected
7
8compdestroy.c: (in function sip_free)
9compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
10 storage may not have been released: x->ips
11compdestroy.c: (in function sip_free2)
12compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
13 storage is not released (memory leak): x->ips
14
15Finished checking --- 2 code warnings, as expected
16
17compdestroy.c: (in function sip_free)
18compdestroy.c:16:13: Possibly dead storage x->ips[] passed as out parameter:
19 x->ips[i]
20 compdestroy.c:15:13: Storage x->ips[] possibly released
21compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
22 storage may not have been released: x->ips
23compdestroy.c: (in function sip_free2)
24compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
25 storage is not released (memory leak): x->ips
26
27Finished checking --- 3 code warnings, as expected
28
29compdestroy.c: (in function sip_free)
30compdestroy.c:16:13: Possibly dead storage x->ips[] passed as out parameter:
31 x->ips[i]
32 compdestroy.c:15:13: Storage x->ips[] possibly released
33compdestroy.c:19:9: Only storage x->ips[] (type oip) derived from released
34 storage may not have been released: x->ips
35compdestroy.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
40compdestroy.c: (in function sip_free2)
41compdestroy.c:25:9: Only storage *(x->ips) (type oip) derived from released
42 storage is not released (memory leak): x->ips
43
44Finished checking --- 4 code warnings, as expected
This page took 0.026079 seconds and 5 git commands to generate.