nicupavel / emlog

emlog -- the EMbedded-system LOG-device
GNU General Public License v2.0
57 stars 20 forks source link

Add autofree module option #2

Closed siboulet closed 9 years ago

siboulet commented 9 years ago

When the autofree module option is enabled, emlog will automatically free the emlog buffer when all handles to the device are closed. Previous version kept non-empty buffer in memory.