opencv: motioncells: remove unnecessary check
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 20 Oct 2015 11:08:59 +0000 (12:08 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 20 Oct 2015 11:09:01 +0000 (12:09 +0100)
commit1193fc875d8879a79509994df090722c809be747
treeb1d97ce198aae3c29ef1d3462ac733785fb8d997
parentf7c4bb5ac63d03fc3131c86ed438b6f6d6992bcb
opencv: motioncells: remove unnecessary check

We know that the gchar arrays contain at least one string. Furthermore,
g_strfreev() checks if the array is NULL and simply returns if it is.
Hence, there is no need to check if the array is empty before using
g_strfreev().

CID 1327412-1327415
ext/opencv/gstmotioncells.cpp