Commit 10019c13 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f67d22f0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment