summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/fav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index 074cd590..6b4cd316 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -497,6 +497,7 @@ static void fav_free_branch(fav_t *fp)
free(ft->fp);
break;
}
+ fav_remove(fp, ft);
}
free(fp->favh);
free(fp);