| 8605 | b->dsml = xstrndup(dsml, len); |
| 8606 | b->len = len; |
| 8607 | b->bytes = len + 1 + sizeof(*b); |
| 8608 | if (!raxInsert(m->by_block, (unsigned char *)b->dsml, b->len, b, NULL)) { |
| 8609 | free(b->dsml); |
| 8610 | free(b); |
| 8611 | die("out of memory"); |
| 8612 | } |
| 8613 | m->bytes += b->bytes; |
| 8614 | return b; |
no test coverage detected