summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/dict.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-18 19:19:59 +0400
committerKozlov Dmitry <dima@server>2010-10-18 19:19:59 +0400
commit27b190b7e4f3957fb923174774435832306938b2 (patch)
treeb3fdba697e212abedc4a2857df97c99a1044e0f7 /accel-pptpd/radius/dict.c
parent5be33b2f6bb2c859357a877a4f1f94f4695fcd30 (diff)
downloadaccel-ppp-27b190b7e4f3957fb923174774435832306938b2.tar.gz
accel-ppp-27b190b7e4f3957fb923174774435832306938b2.zip
radius: fixed incorrect memore free when dictionary load failed
log: flush output immediatly on emergency logs
Diffstat (limited to 'accel-pptpd/radius/dict.c')
-rw-r--r--accel-pptpd/radius/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/radius/dict.c b/accel-pptpd/radius/dict.c
index 0d63a83..9704569 100644
--- a/accel-pptpd/radius/dict.c
+++ b/accel-pptpd/radius/dict.c
@@ -269,7 +269,7 @@ void rad_dict_free(struct rad_dict_t *dict)
_free((char*)attr->name);
_free(attr);
}
- _free(dict);
+ free(dict);
}
static struct rad_dict_attr_t *dict_find_attr(struct list_head *items, const char *name)