diff options
author | David Malcolm <dmalcolm@redhat.com> | 2021-07-21 19:19:31 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2021-07-21 19:19:31 -0400 |
commit | 893b12cc12877aca1c9df6272123b26eddf12722 (patch) | |
tree | f3b93e8f957753d35dc1fa1f0fa827ad108c2bfc /ylwrap | |
parent | 87bd75cd49aac68e90bd9b6b5e14582d6e0ccafa (diff) | |
download | gcc-893b12cc12877aca1c9df6272123b26eddf12722.zip gcc-893b12cc12877aca1c9df6272123b26eddf12722.tar.gz gcc-893b12cc12877aca1c9df6272123b26eddf12722.tar.bz2 |
analyzer: bulletproof -Wanalyzer-file-leak [PR101547]
gcc/analyzer/ChangeLog:
PR analyzer/101547
* sm-file.cc (file_leak::emit): Handle m_arg being NULL.
(file_leak::describe_final_event): Handle ev.m_expr being NULL.
gcc/testsuite/ChangeLog:
PR analyzer/101547
* gcc.dg/analyzer/pr101547.c: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions