CVS log for emstar/fusd/libfusd/libfusd.c |
|
Help |
Request diff between arbitrary revisions / Display revisions graphically / Jump to LXR
Fixed many memory leaks: big issues: 1) in sensor_dev.c: i didn't realize that buf_init doesn't free the buf, just 0s it out (my mistake). This was causing HUGE memory leaks. 2) Not freeing the data portion of rb_elem_t in ring_buff when data was aged out! small ones: 1) emrun_context_t* not freed in emrun_shutdown. 2) issues around devname for opts structs in sensor_dev - now i dont unnecessarily malloc memory for the name. 3) Set the size for the string_length in parse_cmd in timehist to be one too big, so this was causing small leaks every time acommand was parsed. 4) in the enqueue command for timehist, wasn't freeing the command. Not fixed: 1) buf_init() returns a buf of length = 0, but alloc_size = 1. So, this one byte is lost if no data is copied into the buffer. This issue is still not fixed...
| CENS CVS Mailing List |
Powered by ViewCVS 0.9.2 |