x264enc: remove useless and semantically (though not practically) wrong code

The object will be freed, so it's pointless to set the pointers
to NULL anyway.
This commit is contained in:
Vincent Penquerc'h 2012-01-13 13:46:50 +00:00
parent e842b58405
commit 69541031da

View file

@ -962,7 +962,7 @@ gst_x264_enc_finalize (GObject * object)
#define FREE_STRING(ptr) \ #define FREE_STRING(ptr) \
if (ptr) \ if (ptr) \
ptr = (GString *)g_string_free (ptr, TRUE); g_string_free (ptr, TRUE);
FREE_STRING (encoder->tunings); FREE_STRING (encoder->tunings);
FREE_STRING (encoder->option_string); FREE_STRING (encoder->option_string);