Savagedlight / libifconfig

A C API to do most things done by the FreeBSD 'ifconfig' program today
Other
26 stars 7 forks source link

Memory leak in ifconfig_get_description() #34

Closed kprovost closed 8 years ago

kprovost commented 8 years ago

There is a possible memory leak in ifconfig_get_description(). If the ifconfig_ioctlwrap() call fails the memory allocated by reallocf() is leaked.