From: Reynaldo H. Verdejo Pinochet Date: Sun, 15 Nov 2015 00:57:13 +0000 (-0800) Subject: vp9enc: remove unnecessary NULL check before g_free() X-Git-Tag: 1.10.4~771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b7a1b4bb9bfda2f8ff25f0cf4ec06220e5da67a;p=platform%2Fupstream%2Fgst-plugins-good.git vp9enc: remove unnecessary NULL check before g_free() --- diff --git a/ext/vpx/gstvp9enc.c b/ext/vpx/gstvp9enc.c index e8e347f..ab1729d 100644 --- a/ext/vpx/gstvp9enc.c +++ b/ext/vpx/gstvp9enc.c @@ -882,8 +882,7 @@ gst_vp9_enc_set_property (GObject * object, guint prop_id, global = TRUE; break; case PROP_MULTIPASS_CACHE_FILE: - if (gst_vp9_enc->multipass_cache_prefix) - g_free (gst_vp9_enc->multipass_cache_prefix); + g_free (gst_vp9_enc->multipass_cache_prefix); gst_vp9_enc->multipass_cache_prefix = g_value_dup_string (value); break; case PROP_TS_NUMBER_LAYERS: