rem: DBG("After release\n");
add: LOG(L_ERR, "After release\n");
context: c_elem_t* cache_get(cache_t* _c, str* _aor){	int slot_num, count, i;	c_slot_t* slot;	c_elem_t* el;	char *p;	p = (char*)pkg_malloc(_aor->len + 1);	if (!p) {		LOG(L_ERR, "cache_get(): No memory left\n");		return NULL;	}	memcpy(p, _aor->s, _aor->len);	p[_aor->len] = '\0';	strlower(p, _aor->len);	DBG("usr_loc: p=%s\n", p);	slot_num = hash_func(_c, p, _aor->len);	if (slot_num == -1) {		LOG(L_ERR, "cache_get(): Error while generating hash\n");		pkg_free(p);		return NULL;	}	slot = CACHE_GET_SLOT(_c, slot_num);	     /* FIXME: Tady by se mel zamykat jenom element */	DBG("Before lock\n");	get_lock(&(slot->lock));	DBG("After lock\n");	count = SLOT_ELEM_COUNT(slot);	el = SLOT_FIRST_ELEM(slot);	for(i = 0; i < count; i++) {		if (!cmp_location(el->loc, p)) {			pkg_free(p);			return el;		}		el = SLOT_ELEM_NEXT(el);	}	DBG("Before release\n");	release_lock(&(slot->lock));	DBG("After release\n");	pkg_free(p);	return NULL;}