bootspec: add missing free() in boot_config_free()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Mar 2019 14:30:30 +0000 (23:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Mar 2019 14:30:30 +0000 (23:30 +0900)
src/shared/bootspec.c

index e3e8c73..6f5f002 100644 (file)
@@ -160,6 +160,7 @@ void boot_config_free(BootConfig *config) {
         free(config->editor);
         free(config->auto_entries);
         free(config->auto_firmware);
+        free(config->console_mode);
 
         free(config->entry_oneshot);
         free(config->entry_default);