infoforcefeed / OlegDB

Enough works to use this in production

Home Page:http://olegdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make sure key is freed in olt_jar in case of error

qpfiffer opened this issue · comments

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;
}