ematch: tcf_em_destroy robustness
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): 20080208104832.690e140e@extreme
From: Stephen Hemminger <[email protected]>
Date: Fri, 8 Feb 2008 10:48:32 -0800
Quoted 6 lines
Make the code in
tcf_em_tree_destroymore robust and cleaner:
* Don't need to cast pointer tokfree()or avoid passing NULL.
* After freeing the tree, clear the pointer to avoid possible problems
from repeated free.Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks.