client/stream.C - included error checking for malloc() realloc(), plus added free()
Stream.C is not yet part of BOINC but due to some memory problems I have encountered with other programs (leakages/segfaults/etc), it was worth including this minor update to help verify malloc() and realloc() are tested and later free()ed.
Use the diff file to see the changes recommended and if the idea seems worth adding to other files, please go ahead and fix other files that have similar alloc() and free() routines.
NOTE: This file was not tested since stream.C is not used yet.
Change History (9)
Resolution: |
→ duplicate
|
Status: |
new →
closed
|
Resolution: |
duplicate
|
Status: |
closed →
reopened
|
Owner: |
changed from romw to davea
|
Status: |
reopened →
new
|
Component: |
Manager →
Client - Daemon
|
Resolution: |
→ wontfix
|
Status: |
new →
closed
|
Milestone: |
6.8 →
Undetermined
|
diff against latest stream.C of June 13, 2007