summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2017-09-15 18:31:49 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2017-09-15 19:01:52 +0200
commit650c024b42d60c58f35cbdfe13ac445707b7b262 (patch)
tree3958e0b0475255f3bb784c373e3d6ad461ef4a37
parent5e626fdb5c22b8826218070503eb3e82a5351694 (diff)
libs: encoder: don't unref properties
This patch fixes a regression introduced in commit 148f867c, since the props variable is set to object's member variable encoder->properties. And it is set in the instance initialization, thus it will not be leaked. https://bugzilla.gnome.org/show_bug.cgi?id=787733
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c
index 2aacbc98..9e3b4030 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder.c
@@ -1056,7 +1056,6 @@ gst_vaapi_encoder_init_properties (GstVaapiEncoder * encoder)
return FALSE;
}
- g_ptr_array_unref (props);
return TRUE;
}