query: fix null pointer access
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 1 Aug 2022 06:50:41 +0000 (15:50 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 2 Aug 2022 04:00:32 +0000 (13:00 +0900)
commit54f4a53fab584edf2b7a1a1eba04a93fb95d1ed3
tree32c3ed2247829e6677caeda1369a2690d230fa03
parentc134185f37e9743aacc4816d6683b3c60633c819
query: fix null pointer access

After the while loop, addrs may be a nullptr.
This causes a segmentation fault found with pdebuild/ubuntu 22.04.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/tensor_query/nnstreamer_edge_internal.c