mirror of
https://github.com/lammertb/libhttp.git
synced 2025-09-01 14:21:56 +03:00
nullify ssl_mutexes after free-ing them
This commit is contained in:
@@ -4696,6 +4696,7 @@ static void free_context(struct mg_context *ctx) {
|
||||
#ifndef NO_SSL
|
||||
if (ssl_mutexes != NULL) {
|
||||
free(ssl_mutexes);
|
||||
ssl_mutexes = NULL;
|
||||
}
|
||||
#endif // !NO_SSL
|
||||
|
||||
|
Reference in New Issue
Block a user