Ticket #269 (closed Enhancement: duplicate)

Opened 1 year ago

Last modified 1 year ago

client/stream.C - included error checking for malloc() realloc(), plus added free()

Reported by: Joses Assigned to: 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

06/13/07 22:06:21 changed by romw

  • owner changed from romw to davea.

06/14/07 05:22:39 changed by Ageless

  • status changed from new to closed.
  • resolution set to duplicate.

06/14/07 05:23:06 changed by Ageless

Same as #270, but that one has the attachment.


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.