fix the segmentation fault if call download_get_url() without calling download_create()
authorBang Kwang-Min <justine.bang@samsung.com>
Thu, 9 May 2013 04:27:33 +0000 (13:27 +0900)
committerBang Kwang-Min <justine.bang@samsung.com>
Thu, 9 May 2013 06:41:05 +0000 (15:41 +0900)
commitd61545a188a1ab0d8dcbd653c358ac2187a97f9b
tree3622adfe90154f553b5d7b8736de58466f7c0705
parentcd37f2a84de39054d7f6633e8bf760e8c483bee3
fix the segmentation fault if call download_get_url() without calling download_create()

[issue#] failure in Tizen Compliance Tests
[cause] refer uninitialized variable
[solution] use it after connecting to provider

Change-Id: I3c51dbf5dd6cc0654bf5861bc0b0c2c8d74dd6dd
provider-interface/download-provider-interface.c