summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index eb1a838d..c06a9628 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -178,6 +178,7 @@ static int get_type_size(int type)
inline static void* fav_malloc(int size){
void *p = (void *)malloc(size);
+ assert(p);
memset(p, 0, size);
return p;
}