Show More
@@ -36,7 +36,8 b' static struct mpatch_flist *lalloc(ssize' | |||||
36 |
|
36 | |||
37 | a = (struct mpatch_flist *)malloc(sizeof(struct mpatch_flist)); |
|
37 | a = (struct mpatch_flist *)malloc(sizeof(struct mpatch_flist)); | |
38 | if (a) { |
|
38 | if (a) { | |
39 |
a->base = (struct mpatch_frag *)malloc( |
|
39 | a->base = (struct mpatch_frag *)malloc( | |
|
40 | sizeof(struct mpatch_frag) * size); | |||
40 | if (a->base) { |
|
41 | if (a->base) { | |
41 | a->head = a->tail = a->base; |
|
42 | a->head = a->tail = a->base; | |
42 | return a; |
|
43 | return a; |
General Comments 0
You need to be logged in to leave comments.
Login now