mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
f67d22f0fd
commit
10019c13e0
@ -1686,7 +1686,7 @@ static int http_parse_request(HTTPContext *c)
|
||||
memcpy(q, sdp_data, sdp_data_size);
|
||||
q += sdp_data_size;
|
||||
*q = '\0';
|
||||
av_free(sdp_data);
|
||||
av_freep(&sdp_data);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user