summaryrefslogtreecommitdiff
path: root/lib/include/radsec
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-06 14:30:14 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-06 14:30:14 +0100
commitf87be530d67823a5d82367468e33d58b201ebee1 (patch)
treecd56779320f50aefeb1357dd072c686e59353ac3 /lib/include/radsec
parentc1de57efcaa05f4127a73f99c9f366149dc4b98f (diff)
Don't free config object until we destroy the context.
Diffstat (limited to 'lib/include/radsec')
-rw-r--r--lib/include/radsec/radsec-impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h
index 932e5d2..963c821 100644
--- a/lib/include/radsec/radsec-impl.h
+++ b/lib/include/radsec/radsec-impl.h
@@ -5,6 +5,7 @@
#include <freeradius/libradius.h>
#include <event2/util.h>
+#include <confuse.h>
#if defined(RS_ENABLE_TLS)
#include <openssl/ssl.h>
#endif
@@ -61,6 +62,7 @@ struct rs_context {
struct rs_alloc_scheme alloc_scheme;
struct rs_error *err;
fr_randctx fr_randctx;
+ cfg_t *cfg;
};
struct rs_connection {