File: structassign.expect

package info (click to toggle)
lclint 1%3A2.4b-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,996 kB
  • ctags: 9,589
  • sloc: ansic: 100,034; lex: 2,754; yacc: 2,472; makefile: 835
file content (18 lines) | stat: -rw-r--r-- 872 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

structassign.c: (in function copyrecord)
structassign.c:15:15: Released storage x.name reachable from parameter at
                         return point
   structassign.c:14:19: Storage x.name is released
structassign.c: (in function copyrecord2)
structassign.c:23:15: Released storage x.name reachable from parameter at
                         return point
   structassign.c:22:3: Storage x.name is released
structassign.c: (in function copyrecord3)
structassign.c:28:12: Released storage x.name reachable from parameter at
                         return point
   structassign.c:28:12: Storage x.name is released
structassign.c: (in function main)
structassign.c:45:14: Only storage rc.name (type char *) derived from variable
                         declared in this scope is not released (memory leak)

Finished LCLint checking --- 4 code errors found, as expected