diff options
| author | liuxueli <[email protected]> | 2021-09-14 18:53:21 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-09-14 18:53:21 +0800 |
| commit | 123fcf1559cbd9791614033e0d3c070171d7e678 (patch) | |
| tree | 156c9fa27d3b168dcbc8c0a61d6bfcad8732b4fe /src | |
| parent | b5210028da0b5b926960f25449ef904e6daea821 (diff) | |
TSG-7767: 修复内存泄漏,对返回值判断不严谨,返回0xFFFFFFFF到SAPP,导致CLOSE状态未释放内存
Diffstat (limited to 'src')
| -rw-r--r-- | src/gquic_process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gquic_process.cpp b/src/gquic_process.cpp index fa7f641..9e9c3ee 100644 --- a/src/gquic_process.cpp +++ b/src/gquic_process.cpp @@ -849,7 +849,7 @@ int gquic_frame_type_stream(struct streaminfo *pstream, struct _quic_context* _c //frame type->stream->offset->data length
int gquic_proc_unencrypt(struct streaminfo *pstream, struct _quic_context* _context, void *a_packet, char * payload, int payload_len, int *used_len)
{
- unsigned int ret=0;
+ int ret=0;
unsigned char frame_type=0;
unsigned int stream_id=0;
unsigned int error_code=0;
|
