- if (not array)
- return NULL;
-
- array->root= memc;
- array->size= str_length; // We don't count the NULL ending
- memcpy(array->c_str, str, str_length);
- array->c_str[str_length]= 0;
+ if (array)
+ {
+ array->root= memc;
+ array->size= str_length; // We don't count the NULL ending
+ memcpy(array->c_str, str, str_length);
+ array->c_str[str_length]= 0;
+ }
- if (not array)
- return;
-
- WATCHPOINT_ASSERT(array->root);
- libmemcached_free(array->root, array);
+ if (array)
+ {
+ WATCHPOINT_ASSERT(array->root);
+ libmemcached_free(array->root, array);
+ }