bdk: ini: add ini free
Additionally, fix a bug where a list could not be initialized if section type is comment or caption.
This commit is contained in:
@@ -43,8 +43,9 @@ typedef struct _ini_sec_t
|
||||
u32 color;
|
||||
} ini_sec_t;
|
||||
|
||||
int ini_parse(link_t *dst, char *ini_path, bool is_dir);
|
||||
int ini_parse(link_t *dst, char *ini_path, bool is_dir);
|
||||
char *ini_check_payload_section(ini_sec_t *cfg);
|
||||
void ini_free(link_t *src);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user