Add 'g_object_unref' for 'address' variable. 66/172466/2
authorHyunsoo Park <hance.park@samsung.com>
Wed, 14 Mar 2018 05:48:04 +0000 (14:48 +0900)
committerHyunsoo Park <hance.park@samsung.com>
Wed, 14 Mar 2018 06:20:48 +0000 (06:20 +0000)
commit0c2a17775f3919d45081b2069ac737ab1e60143a
treef203e813b8e5f4b69ad096d82edfe02ed640686f
parentb2fc76fb4ccb0f0e2de6b0aaf9eaa2d68f2d11b0
Add 'g_object_unref' for 'address' variable.

For type checking whether 'address' is 'G_TYPE_INET_SOCKET_ADDRESS' type, it is used 'G_IS_INET_SOCKET_aDDRESS' api.
And in case of taking false, 'address' is not null because it is passed null checking.
So i added 'g_object_unref' in else statement.

Change-Id: I49f8a3d6d7c320d0d49ef073088690a4dd026d29
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
gst/rtsp-server/rtsp-client.c