summaryrefslogtreecommitdiffstats
path: root/plugin/eurephia-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/eurephia-auth.c')
-rw-r--r--plugin/eurephia-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/eurephia-auth.c b/plugin/eurephia-auth.c
index dfe8ff2..c93df1d 100644
--- a/plugin/eurephia-auth.c
+++ b/plugin/eurephia-auth.c
@@ -158,6 +158,7 @@ static inline int detect_tunnel_type(eurephiaCTX *ctx, const char const *env[])
tuntype = conv_str2tuntype(devtype);
if( tuntype != tuntype_UNKN ) {
ctx->tuntype = tuntype;
+ free_nullsafe(ctx, devtype);
goto success;
}
free_nullsafe(ctx, devtype);