summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/radius.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-12-14 17:16:07 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-12-14 17:16:07 +0300
commit84a1a7acc3c42aee590f6c18ea5adc7caf8706e8 (patch)
tree110fc6387df822e056599ae23860ef2868fa4741 /accel-pppd/radius/radius.h
parentd3c2680d0d8094b1c05d069c9cc8976359ce936b (diff)
downloadaccel-ppp-xebd-84a1a7acc3c42aee590f6c18ea5adc7caf8706e8.tar.gz
accel-ppp-xebd-84a1a7acc3c42aee590f6c18ea5adc7caf8706e8.zip
radius: fixed memory leak
Diffstat (limited to 'accel-pppd/radius/radius.h')
-rw-r--r--accel-pppd/radius/radius.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/radius.h b/accel-pppd/radius/radius.h
index 3176f53..6428bb1 100644
--- a/accel-pppd/radius/radius.h
+++ b/accel-pppd/radius/radius.h
@@ -75,7 +75,7 @@ struct rad_dict_attr_t
struct list_head entry;
const char *name;
int id;
- int type:31;
+ int type:30;
int array:1;
int size;
struct list_head values;
@@ -90,6 +90,7 @@ struct rad_attr_t
//struct rad_dict_value_t *val;
int len;
int cnt;
+ int alloc:1;
void *raw;
rad_value_t val;
};