mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Rename leave to cleanup
The name ‘leave’ can not be used on some Windows CE platforms, so rename it.
This commit is contained in:
parent
92792b4eef
commit
3ef96e8095
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ http_postbody:
|
|||
if (!wsi->u.http.post_buffer) {
|
||||
lwsl_err("Unable to allocate post buffer\n");
|
||||
n = -1;
|
||||
goto leave;
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -271,7 +271,7 @@ http_postbody:
|
|||
wsi->user_space, uri_ptr, uri_len);
|
||||
}
|
||||
|
||||
leave:
|
||||
cleanup:
|
||||
/* now drop the header info we kept a pointer to */
|
||||
if (ah)
|
||||
free(ah);
|
||||
|
|
Loading…
Add table
Reference in a new issue