[Fix] Remove unncessary arg checking before calling g_strdup()
authorDongju Chae <dongju.chae@samsung.com>
Tue, 16 Jun 2020 11:04:20 +0000 (20:04 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 16 Jun 2020 14:33:40 +0000 (23:33 +0900)
commit79341c8e6ed0ba8c9b015179412354df86595735
tree3f72c00d0d863cdf7fd51a8ecf43cf08239ed905
parent4ea6987233e3f3b2df1538082b1ed6dd0c321f8d
[Fix] Remove unncessary arg checking before calling g_strdup()

This patch removes uncessary argument checking before calling g_strdup()

If an argument of g_strdup() is NULL, its return value is also NULL.
So, checking its argument before calling is duplicated and useless.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
gst/nnstreamer/nnstreamer_conf.c
gst/nnstreamer/tensor_common.c