Differences From Artifact [e46baebb14]:
- File src/refpool.c — part of check-in [8ec09e82ac] at 2012-04-22 13:09:52 on branch trunk — Add refpool. (user: js, size: 2577) [annotate] [blame] [check-ins using]
To Artifact [dae880981d]:
- File src/refpool.c — part of check-in [d7b09f1d63] at 2012-09-30 02:57:00 on branch trunk — Fix a bug in refpool. (user: js, size: 2616) [annotate] [blame] [check-ins using]
︙ | |||
72 73 74 75 76 77 78 79 80 81 82 83 84 85 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | + + + | for (i = 0; i < pool->size; i++) cfw_unref(pool->data[i]); if (pool->data != NULL) free(pool->data); top = pool->prev; if (top != NULL) top->next = NULL; } bool cfw_refpool_add(void *ptr) { void **ndata; |
︙ |