free NULL cleanup -- coda
After the finale, the "real" final part. :) Do a recursive grep with "-B1 -w [a-zA-Z0-9_]*_free" to see if any of the preceeding lines are an "if NULL" check that can be removed. Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
666964780a
commit
25aaa98aa2
82 changed files with 244 additions and 511 deletions
|
@ -106,8 +106,7 @@ _STACK *sk_dup(_STACK *sk)
|
|||
ret->comp = sk->comp;
|
||||
return (ret);
|
||||
err:
|
||||
if (ret)
|
||||
sk_free(ret);
|
||||
sk_free(ret);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue