Fix small memory problem
This commit is contained in:
		| @ -17,6 +17,10 @@ Options GLOBAL_OPTS; | ||||
| void cleanup_options(Options *opts) { | ||||
|     FREE_CHECKED(opts->config_path); | ||||
|     FREE_CHECKED(opts->gpio_path); | ||||
|     FREE_CHECKED(opts->temp_key); | ||||
|     FREE_CHECKED(opts->humid_key); | ||||
|     FREE_CHECKED(opts->fail_key); | ||||
|     FREE_CHECKED(opts->lcd_version); | ||||
| } | ||||
|  | ||||
| void *malloc_checked(size_t n) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user