diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c
index 3500c911a6a83617d730a1fc20c29051b15cbed4..f432f6a250460bef0ca46f321a7e6fea1ed8a4f3 100644
--- a/fs_mgr/fs_mgr.c
+++ b/fs_mgr/fs_mgr.c
@@ -430,6 +430,10 @@ void fs_mgr_free_fstab(struct fstab *fstab)
 {
     int i;
 
+    if (!fstab) {
+        return;
+    }
+
     for (i = 0; i < fstab->num_entries; i++) {
         /* Free the pointers return by strdup(3) */
         free(fstab->recs[i].blk_device);