Parent Directory | Revision Log | Patch
revision 1.8, Fri Jun 14 13:27:28 2002 UTC | revision 1.15, Sat Feb 15 15:22:19 2003 UTC | |
---|---|---|
# | Line 71 | Line 71 |
71 | if ((mem_ptr = (uint8_t *) malloc(size + 1)) != NULL) { | if ((mem_ptr = (uint8_t *) malloc(size + 1)) != NULL) { |
72 | ||
73 | /* Store (mem_ptr - "real allocated memory") in *(mem_ptr-1) */ | /* Store (mem_ptr - "real allocated memory") in *(mem_ptr-1) */ |
74 | *mem_ptr = 0; | *mem_ptr = 1; |
75 | ||
76 | /* Return the mem_ptr pointer */ | /* Return the mem_ptr pointer */ |
77 | return (void *) mem_ptr++; | return (void *) mem_ptr++; |
|
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |