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:
1 parent
429074293a
commit
bf00c79edb
2 files changed
+46
-3
No files matched your search
+2
-1
@@ -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