From db68e036e92d4bf82a18b8f70288b307e4a16c9e Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 25 Apr 2014 16:18:07 -0400 Subject: [PATCH] gl: check the correct GstGLMemory in basic_test --- tests/check/libs/gstglmemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/libs/gstglmemory.c b/tests/check/libs/gstglmemory.c index 5b29de6ed7..6aaffdd9a4 100644 --- a/tests/check/libs/gstglmemory.c +++ b/tests/check/libs/gstglmemory.c @@ -82,7 +82,7 @@ GST_START_TEST (test_basic) /* copy the memory */ mem2 = gst_memory_copy (mem, 0, -1); - fail_if (mem == NULL); + fail_if (mem2 == NULL); gl_mem2 = (GstGLMemory *) mem2; /* test params */