summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-video-texture-new-unref-loop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test-video-texture-new-unref-loop.c b/tests/test-video-texture-new-unref-loop.c
index 3ff89e5..10ba16e 100644
--- a/tests/test-video-texture-new-unref-loop.c
+++ b/tests/test-video-texture-new-unref-loop.c
@@ -44,11 +44,8 @@ main (int argc, char *argv[])
{
g_debug("VideoTexure #%d", i);
vtexture = clutter_gst_video_texture_new();
- if (vtexture == NULL)
- g_error("failed to create VideoTexture");
g_object_ref_sink (vtexture);
g_object_unref (vtexture);
- g_object_unref (vtexture);
}
return EXIT_SUCCESS;