1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

ffserver: use av_freep() for a case that is not clearly at the end of a function

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-10-28 19:16:48 +02:00
parent f67d22f0fd
commit 10019c13e0

View File

@ -1686,7 +1686,7 @@ static int http_parse_request(HTTPContext *c)
memcpy(q, sdp_data, sdp_data_size); memcpy(q, sdp_data, sdp_data_size);
q += sdp_data_size; q += sdp_data_size;
*q = '\0'; *q = '\0';
av_free(sdp_data); av_freep(&sdp_data);
} }
} }
break; break;