mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-22 06:01:26 +02:00
12 lines
350 B
Diff
12 lines
350 B
Diff
--- a/accel-pppd/ctrl/l2tp/l2tp.c
|
|
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
|
|
@@ -852,7 +852,7 @@
|
|
void *sessions = conn->sessions;
|
|
|
|
conn->sessions = NULL;
|
|
- tdestroy(sessions, (__free_fn_t)l2tp_session_free);
|
|
+ tdestroy(sessions, l2tp_session_free);
|
|
/* Let l2tp_session_free() handle the session counter and
|
|
* the reference held by the tunnel.
|
|
*/
|