diff options
Diffstat (limited to 'src/unreal32.c')
-rw-r--r-- | src/unreal32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unreal32.c b/src/unreal32.c index 471dbf6fe..8ecf6824a 100644 --- a/src/unreal32.c +++ b/src/unreal32.c @@ -1853,7 +1853,6 @@ int anope_event_chghost(char *source, int ac, char **av) /* EVENT: SERVER */ int anope_event_server(char *source, int ac, char **av) { - char *uplink; char *desc; char *vl; char *numeric; @@ -1864,6 +1863,9 @@ int anope_event_server(char *source, int ac, char **av) numeric = myStrGetToken(vl, '-', 2); desc = myStrGetTokenRemainder(av[2], ' ', 1); do_server(source, av[0], av[1], desc, numeric); + Anope_Free(vl); + Anope_Free(desc); + Anope_Free(numeric); } else { do_server(source, av[0], av[1], av[2], NULL); } |