]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/pppol2tp/openl2tp.c
Various fixes for errors found by coverity static analysis (#109)
[ppp.git] / pppd / plugins / pppol2tp / openl2tp.c
index 9643b965792b0e8188e2de76cda18e30971d16f7..85ff0b56cdc5b839382a2f970034419c6bcb7756 100644 (file)
@@ -246,6 +246,9 @@ out:
                (*old_pppol2tp_ip_updown_hook)(tunnel_id, session_id, up);
        }
 
+       if (user_name != NULL)
+               free(user_name);
+
        return;
 }