ECONF\_FREEEXTVALUE(3) libeconf Manual ECONF\_FREEEXTVALUE(3)

# [NAME](#NAME)

econf\_freeExtValue - free an econf\_ext\_value structure

# [SYNOPSIS](#SYNOPSIS)

```
#include <libeconf_ext.h>
```

**void econf\_freeExtValue(econf\_ext\_value \*val);**

# [DESCRIPTION](#DESCRIPTION)

The **econf\_freeExtValue**() function is used to free the memory that was dynamically allocated for the **econf\_ext\_value** structure pointed to by *val*, typically obtained from a previous call to [**econf\_getExtValue**(3)](/man/os/libeconf/econf_getExtValue.3).

All internal members of the structure, including the value string and any associated extended data, are also freed.

If *val* is **NULL**, the function does nothing.

# [RETURN VALUE](#RETURN_VALUE)

The **econf\_freeExtValue**() function returns no value.

# [SEE ALSO](#SEE_ALSO)

[**econf\_getExtValue**(3)](/man/os/libeconf/econf_getExtValue.3), [**econf\_freeFile**(3)](/man/os/libeconf/econf_freeFile.3), [**libeconf**(7)](/man/os/libeconf/libeconf.7)

2025-01-16 libeconf

---

Document: econf_freeExtValue(3) from libeconf 0.8.4-r3 (Chainguard OS)
Source: https://github.com/openSUSE/libeconf
