Make syntax in ini more concise

This commit is contained in:
EmeraldLockdown 2026-03-11 19:36:23 -05:00
parent 14c12eb0e5
commit e383d07594

View file

@ -215,9 +215,7 @@ fail:
* Deletes ini_t struct from memory.
*/
void ini_free(ini_t *ini) {
if (ini) {
free(ini->data);
}
if (ini) free(ini->data);
free(ini);
}