summaryrefslogtreecommitdiff
path: root/app-defaults
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-01-01 22:58:23 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-01-01 22:58:23 -0800
commite3fe79502a4a1b0f0b148659948d541ce26ed7bf (patch)
tree0a8cc6bfa88305144593c000bafda31cbb7bb859 /app-defaults
parenta59538d5d57bd2f8b2101e398a97fe8466b8eef7 (diff)
Demacro modernization of NewSList to plug a memory leak during error handling
atobm.c:248:6: warning: Potential leak of memory pointed to by 'slist' NewSList (); ^~~~~~~~~~~ atobm.c:209:3: note: expanded from macro 'NewSList' fprintf (stderr, "%s: unable to allocate char array\n", \ ^~~~~~~ atobm.c:259:6: warning: Potential leak of memory pointed to by 'old' NewSList (); ^~~~~~~~~~~ atobm.c:209:3: note: expanded from macro 'NewSList' fprintf (stderr, "%s: unable to allocate char array\n", \ ^~~~~~~ atobm.c:259:6: warning: Potential leak of memory pointed to by 'slist' NewSList (); ^~~~~~~~~~~ atobm.c:209:3: note: expanded from macro 'NewSList' fprintf (stderr, "%s: unable to allocate char array\n", \ ^~~~~~~ 3 warnings generated. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'app-defaults')
0 files changed, 0 insertions, 0 deletions