CVS log for emstar/fusd/libfusd/libfusd.c

(logo)

Help

(back) Up to [CENS] / emstar / fusd / libfusd

Request diff between arbitrary revisions / Display revisions graphically / Jump to LXR


Default branch: MAIN
Bookmark a link to: HEAD / (download)
Current tag: EMSTAR_RELEASE_2_0_beta1

Revision 1.70 / (as text) / (view) - annotate - [select for diffs] , Wed Mar 17 07:39:41 2004 UTC (5 years, 8 months ago) by nithya
Branch: MAIN
CVS Tags: EMSTAR_RELEASE_2_0_beta1
Changes since 1.69: +3 -2 lines
Diff to previous 1.69
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...

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

CENS CVS Mailing List
Powered by
ViewCVS 0.9.2