Skip to content
Snippets Groups Projects
Commit 103e2e11 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Don't leave dangling pointers in Free functions

While these are mostly called during teardown of larger structures
that are about to themselves be freed, there's no guarantee that
will always be the case, so try to be safer here.

[ This bug was found by the Parfait 4.0 bug checking tool.
  http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13

 ]

v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies
    as suggested by @keithp

Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 7d70e302
No related branches found
No related tags found
1 merge request!62Static analysis fixes
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment