#269 closed Enhancement (duplicate)
client/stream.C - included error checking for malloc() realloc(), plus added free()
Reported by: | Joses | Owned by: | davea |
---|---|---|---|
Priority: | Undetermined | Milestone: | 5.10 |
Component: | Manager | Version: | |
Keywords: | Cc: |
Description
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 (3)
comment:1 Changed 17 years ago by
Owner: | changed from romw to davea |
---|
comment:2 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Same as #270, but that one has the attachment.