diff options
-rw-r--r-- | main/SAPI.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 254c187948..fe03ab711e 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -97,6 +97,7 @@ SAPI_API void sapi_handle_post(void *arg SLS_DC) if (SG(request_info).post_entry) { SG(request_info).post_entry->post_handler(SG(request_info).content_type_dup, arg SLS_CC); efree(SG(request_info).post_data); + SG(request_info).post_data = NULL; efree(SG(request_info).content_type_dup); SG(request_info).content_type_dup = NULL; } |