mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Remove double free
The function parser_submit_data is only called from parser_feed_char_data_body, which frees the buffer pointer anyway.
This commit is contained in:
parent
9edb225905
commit
57d05a1808
1 changed files with 0 additions and 1 deletions
|
@ -2169,7 +2169,6 @@ static int parser_submit_data(struct rtsp *bus, uint8_t *p)
|
|||
p,
|
||||
dec->data_size);
|
||||
if (r < 0) {
|
||||
free(p);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue