summaryrefslogtreecommitdiff
path: root/src/scanners.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-28 12:14:44 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-28 12:14:44 -0800
commitd94d592d2b76c2f0c4bc27ab74ff145ee1e390f5 (patch)
tree89e7d7d566ba062a0d811e8f69abb0dbb928d956 /src/scanners.h
parent3f251cdca271ddb79d06fb8fc101499d0e9a3021 (diff)
Avoid potential memory leak.
Previously, if malloc failed to allocate 'newstack', the function would return without freeing 'stack'. Pointed out by clang static analyzer.
Diffstat (limited to 'src/scanners.h')
0 files changed, 0 insertions, 0 deletions