1
0
Fork 0
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:
Andrey Alekseenko 2020-02-21 22:06:16 -05:00 committed by Alberto Fanjul
parent 9edb225905
commit 57d05a1808

View file

@ -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;
}