diff options
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c index 405f65d9d..33818af2c 100644 --- a/main/http.c +++ b/main/http.c @@ -736,7 +736,8 @@ static void *httpd_helper_thread(void *data) done: fclose(ser->f); - ser = ast_tcptls_session_instance_destroy(ser); + ao2_ref(ser, -1); + ser = NULL; return NULL; } |