Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Tight_Coder_Ex ; Forum: C and child forums
Forum: C Sep 1st, 2007
Replies: 7
Views: 4,528
Posted By Tight_Coder_Ex
Similar to goto statements, I've found multiple return paths are as equally problematic. If line 25 is executed then hFile is still open
Forum: C Sep 1st, 2007
Replies: 7
Views: 4,528
Posted By Tight_Coder_Ex
The only thing I can think of is that another process or instance of this application already has the file open, and because you are not sharing the file this would not allow the handle to be...
Forum: C Aug 31st, 2007
Replies: 8
Views: 1,197
Posted By Tight_Coder_Ex
Set a soft break at CreateRawDataBUFR then a watchpoint at rdi, or set the same softbreak and a watchpoint to the location where rdi is stored and another at the contents that rdi points too. Then...
Forum: C Mar 10th, 2005
Replies: 13
Views: 4,256
Posted By Tight_Coder_Ex
Yes you will eventually run out of memory by continuously allocating with malloc and never freeing.

In the second case, theroetically you shouldn't run out of memory by freeing each time, but...
Forum: C Mar 8th, 2005
Replies: 18
Views: 6,295
Posted By Tight_Coder_Ex
As defined in stdlib.h and malloc.hfree (q);will do the trick. Assure only pointers that were created with malloc, calloc or realloc are passed to free (), otherwise other calls to get memory may...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC