Duplicate an sds string. */
| 187 | |
| 188 | /* Duplicate an sds string. */ |
| 189 | sds sdsdup(const sds s) { |
| 190 | return sdsnewlen(s, sdslen(s)); |
| 191 | } |
| 192 | |
| 193 | /* Free an sds string. No operation is performed if 's' is NULL. */ |
| 194 | void sdsfree(sds s) { |
no test coverage detected