Fix memory leak
This commit is contained in:
parent
128a5e113a
commit
fdf366e749
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ static void DepacketizerThreadProc(void* context) {
|
|||
|
||||
memcpy(&length, data, sizeof(int));
|
||||
queueRtpPacket((PRTP_PACKET) &data[sizeof(int)], length);
|
||||
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue