tests: test-filter: fix dereference before null check
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Jan 2018 16:10:28 +0000 (17:10 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Jan 2018 16:10:28 +0000 (17:10 +0100)
commit089b8982e9816def693890a96882f370ea287f47
tree36e2aad11ca29417dbf53dbe7293ba32cc369ba0
parent66794c9bc9b2a834764d0e139e594badb305875b
tests: test-filter: fix dereference before null check

Null-checking op_info suggests that it may be null, but it has already
been dereferenced on all paths leading to the check.

There may be a null pointer dereference, or else the comparison
against null is unnecessary.
tests/test-filter.c