Merge pull request #744 from Teemperor/FixMemoryLeak

Fix memory leak in radmin2
This commit is contained in:
van Hauser 2022-04-18 13:24:25 +02:00 committed by GitHub
commit 73029ac1a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -366,6 +366,7 @@ void service_radmin2(char *ip, int32_t sp, unsigned char options, char *miscptr,
hydra_report(stderr, "Error: Child with pid %d terminating, protocol error\n", (int32_t)getpid()); hydra_report(stderr, "Error: Child with pid %d terminating, protocol error\n", (int32_t)getpid());
hydra_child_exit(2); hydra_child_exit(2);
} }
free(msg);
} }
#endif #endif
} }