mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue