* xmlLinkDeallocator: * @l: a list * @lk: a link * * Unlink and deallocate @lk from list @l */
| 56 | * Unlink and deallocate @lk from list @l |
| 57 | */ |
| 58 | static void |
| 59 | xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk) |
| 60 | { |
| 61 | (lk->prev)->next = lk->next; |
| 62 | (lk->next)->prev = lk->prev; |
| 63 | if(l->linkDeallocator) |
| 64 | l->linkDeallocator(lk); |
| 65 | xmlFree(lk); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * xmlLinkCompare: |
no outgoing calls
no test coverage detected