version 1.15.2.3, 2012/03/27 22:31:37
|
version 1.15.2.4, 2012/03/28 10:51:31
|
Line 213 typedef struct {
|
Line 213 typedef struct {
|
|
|
/* if attribute zeroCopy is set not execute free() */ |
/* if attribute zeroCopy is set not execute free() */ |
#define AIT_FREE_VAL(_vl) do { ait_val_t *__val = (_vl); assert(__val); \ |
#define AIT_FREE_VAL(_vl) do { ait_val_t *__val = (_vl); assert(__val); \ |
if (AIT_TYPE(__val) == data) { \ |
|
free(__val); \ |
|
break; \ |
|
} \ |
|
switch (AIT_TYPE(__val)) { \ |
switch (AIT_TYPE(__val)) { \ |
case buffer: \ |
case buffer: \ |
if (__val->val.buffer) { \ |
if (__val->val.buffer) { \ |