Parent Directory | Revision Log | Patch
revision 1.12, Wed Nov 27 21:20:33 2002 UTC | revision 1.13, Sun Dec 15 01:12:01 2002 UTC | |
---|---|---|
# | Line 88 | Line 88 |
88 | if ((mem_ptr = (uint8_t *) malloc(size + 1)) != NULL) { | if ((mem_ptr = (uint8_t *) malloc(size + 1)) != NULL) { |
89 | ||
90 | /* Store (mem_ptr - "real allocated memory") in *(mem_ptr-1) */ | /* Store (mem_ptr - "real allocated memory") in *(mem_ptr-1) */ |
91 | *mem_ptr = 0; | *mem_ptr = 1; |
92 | ||
93 | /* Return the mem_ptr pointer */ | /* Return the mem_ptr pointer */ |
94 | return (void *)(mem_ptr+1); | return (void *)(mem_ptr+1); |
|
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |