self->key_length= 0;
self->item_cas= 0;
self->root= memc;
+ self->count= 0;
self->item_key[0]= 0;
}
void memcached_result_free(memcached_result_st *ptr)
{
- if (not ptr)
+ if (ptr == NULL)
+ {
return;
+ }
memcached_string_free(&ptr->value);
}
else
{
+ ptr->count= 0;
ptr->options.is_initialized= false;
}
}