Make sure key is freed in olt_jar in case of error
qpfiffer opened this issue · comments
Quinlan Pfiffer commented
This is only a problem since #170, but we now also have to free bucket->key
in situations like this:
if (strncpy(new_bucket->key, _key, _klen) != new_bucket->key) {
free(new_bucket);
return 2;
}