summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/nvmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/libreboot-utils/nvmutil.c')
-rw-r--r--util/libreboot-utils/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/nvmutil.c b/util/libreboot-utils/nvmutil.c
index 313390c0..0eed440c 100644
--- a/util/libreboot-utils/nvmutil.c
+++ b/util/libreboot-utils/nvmutil.c
@@ -132,7 +132,7 @@ main(int argc, char *argv[])
if (f->io_err_gbe_bin)
b0rk(EIO, "%s: error writing final file");
- free_if_null(&f->tname);
+ free_and_set_null(&f->tname);
return EXIT_SUCCESS;
}