aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 0fe458e..f227c50 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -948,7 +948,7 @@ t_sft(char *want, struct t_tree *t)
PRIVATE void
t_cft(struct t_tree **t)
{
- if (*t) {
+ if (t != NULL && *t != NULL) {
t_cft(&(*t)->left);
t_cft(&(*t)->right);
rfree(*t);