Last active
January 5, 2018 18:01
-
-
Save H4niz/5d6422df96534dafecb2b05a582db279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct malloc_chunk { | |
INTERNAL_SIZE_T prev_size; //size of prev_chunk | |
INTERNAL_SIZE_T size; // size of chunk | |
/* Only use if free*/ | |
struct malloc_chunk *fd; //point to nextchunk | |
struct malloc_chunk *bk; //point to backchunk | |
/*Use for large chunk*/ | |
struct malloc_chunk *fd_nextsize; | |
struct malloc_chunk *bk_nextsize; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment