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:
parent
e842b58405
commit
69541031da
@ -962,7 +962,7 @@ gst_x264_enc_finalize (GObject * object)
|
||||
|
||||
#define FREE_STRING(ptr) \
|
||||
if (ptr) \
|
||||
ptr = (GString *)g_string_free (ptr, TRUE);
|
||||
g_string_free (ptr, TRUE);
|
||||
|
||||
FREE_STRING (encoder->tunings);
|
||||
FREE_STRING (encoder->option_string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user