x264enc: remove leaking "optimization"
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 13 Jan 2012 13:46:28 +0000 (13:46 +0000)
committerNikhil Devshatwar <a0132237@ti.com>
Fri, 17 May 2013 09:40:53 +0000 (15:10 +0530)
ext/x264/gstx264enc.c

index f85a94e0f72224693db8063e3aacf5c5ff4bb4cf..2be3dd3b9ca7d5646b3b5f23968763be9ebd81cf 100644 (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) {