diff --git a/fs_mgr/fs_mgr_verity.c b/fs_mgr/fs_mgr_verity.c index 39f96a7a2..f2cf965fa 100644 --- a/fs_mgr/fs_mgr_verity.c +++ b/fs_mgr/fs_mgr_verity.c @@ -408,7 +408,7 @@ int fs_mgr_setup_verity(struct fstab_rec *fstab) { // get the device mapper fd if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) { ERROR("Error opening device mapper (%s)", strerror(errno)); - goto out;; + goto out; } // create the device @@ -458,9 +458,9 @@ out: close(fd); } - free (verity_table); - free (verity_table_signature); - free (verity_blk_name); + free(verity_table); + free(verity_table_signature); + free(verity_blk_name); return retval; }