Rev 591 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 591 | Rev 615 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | y->used = 0; |
98 | y->used = 0; |
99 | y->size = x->size - size - sizeof(chunk_t); |
99 | y->size = x->size - size - sizeof(chunk_t); |
100 | y->prev = x; |
100 | y->prev = x; |
101 | y->next = NULL; |
101 | y->next = NULL; |
102 | 102 | ||
103 | if (z = x->next) { |
103 | z = x->next; |
- | 104 | if (z) { |
|
104 | z->prev = y; |
105 | z->prev = y; |
105 | y->next = z; |
106 | y->next = z; |
106 | } |
107 | } |
107 | 108 | ||
108 | x->size = size; |
109 | x->size = size; |