x264enc: remove leaking "optimization"

This commit is contained in:
Vincent Penquerc'h 2012-01-13 13:46:28 +00:00
parent 2e7b2d8bdf
commit e842b58405

View file

@ -431,7 +431,7 @@ gst_x264_enc_build_tunings_string (GstX264Enc * x264enc)
{
int i = 1;
if (x264enc->tunings && x264enc->tunings->len)
if (x264enc->tunings)
g_string_free (x264enc->tunings, TRUE);
if (x264enc->psy_tune) {