mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-05 21:18:32 +08:00
nullify ssl_mutexes after free-ing them
This commit is contained in:
parent
05062be889
commit
2ffb558e30
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user