projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7492b
)
[Filter] Fix coverity issue, pointer out of scope.
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Mon, 26 Nov 2018 05:18:52 +0000
(14:18 +0900)
committer
Jijoong Moon
<jijoong.moon@samsung.com>
Tue, 27 Nov 2018 06:14:56 +0000
(15:14 +0900)
This fixes the coverity issue, pointer out of scope.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_filter/tensor_filter.c
patch
|
blob
|
history
diff --git
a/gst/tensor_filter/tensor_filter.c
b/gst/tensor_filter/tensor_filter.c
index
8325928
..
298e0ad
100644
(file)
--- a/
gst/tensor_filter/tensor_filter.c
+++ b/
gst/tensor_filter/tensor_filter.c
@@
-909,6
+909,8
@@
_compare_tensors (GstTensorsInfo * info1, GstTensorsInfo * info2)
g_free (line);
}
+ if (result == null)
+ return NULL;
return result;
}