| 6971 | } |
| 6972 | |
| 6973 | hb_chapter_queue_t * hb_chapter_queue_init(void) |
| 6974 | { |
| 6975 | hb_chapter_queue_t * q; |
| 6976 | |
| 6977 | q = calloc(1, sizeof(*q)); |
| 6978 | if (q != NULL) |
| 6979 | { |
| 6980 | q->list_chapter = hb_list_init(); |
| 6981 | if (q->list_chapter == NULL) |
| 6982 | { |
| 6983 | free(q); |
| 6984 | q = NULL; |
| 6985 | } |
| 6986 | } |
| 6987 | return q; |
| 6988 | } |
| 6989 | |
| 6990 | void hb_chapter_queue_close(hb_chapter_queue_t **_q) |
| 6991 | { |
no test coverage detected