Fix Nick's nits
(cherry-pick of 97e487311b1cb780dfd3b0994917c72047d6188f.)
Change-Id: Ide7925e7ad328f0343d444d63ff72f1a26206d4c
diff --git a/fs_mgr/fs_mgr_verity.c b/fs_mgr/fs_mgr_verity.c
index 5899758..ef7cf6e 100644
--- a/fs_mgr/fs_mgr_verity.c
+++ b/fs_mgr/fs_mgr_verity.c
@@ -412,7 +412,7 @@
// 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
@@ -462,9 +462,9 @@
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;
}