Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#271 closed Enhancement (fixed)

alloc() memory check for api/gutil.C api/tgalib.c api/texture.c

Reported by: Joses Owned by: davea
Priority: Undetermined Milestone: 5.10
Component: Client - Screen Saver Version:
Keywords: Cc:

Description

Due to running into some memory leaks with other non-related programs, I noted that there were some possible error checks that can be added to BOINC to help reduce memory leaks, segfaults, forgotten-memory, etc.

Please note these compile (without spelling errors) but have not been tested to work. If you find the enhancements useful and applicable to other files, please use the suggested fixes on other files too.

Attachments (2)

gutil.C.diff (633 bytes) - added by Joses 17 years ago.
added some malloc() checks to api/gutil
tgalib.C.diff (442 bytes) - added by Joses 17 years ago.
alloc fixes to api/tgalib.C for version 5.10

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by Joses

Attachment: gutil.C.diff added

added some malloc() checks to api/gutil

Changed 17 years ago by Joses

Attachment: tgalib.C.diff added

alloc fixes to api/tgalib.C for version 5.10

comment:1 Changed 17 years ago by romw

Owner: changed from romw to davea

comment:2 Changed 17 years ago by Nicolas

Resolution: fixed
Status: newclosed

Fixed, according to #272 (it was the ticket split in two).

comment:3 Changed 17 years ago by Nicolas

...the same ticket...

Note: See TracTickets for help on using tickets.