projects
/
platform
/
core
/
location
/
maps-plugin-mapzen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7143d
)
Use free() instead of g_free()
76/134576/1
accepted/tizen/unified/20170620.174110
submit/tizen/20170619.084208
author
chanywa
<cbible.kim@samsung.com>
Mon, 19 Jun 2017 08:38:27 +0000
(17:38 +0900)
committer
chanywa
<cbible.kim@samsung.com>
Mon, 19 Jun 2017 08:38:27 +0000
(17:38 +0900)
Change-Id: I7c18e7702edcddd486748aabdaacbdf5b3283f8c
src/mapzen/tangram_view.cpp
patch
|
blob
|
history
diff --git
a/src/mapzen/tangram_view.cpp
b/src/mapzen/tangram_view.cpp
index
a23b1c1
..
e7e5e90
100644
(file)
--- a/
src/mapzen/tangram_view.cpp
+++ b/
src/mapzen/tangram_view.cpp
@@
-107,7
+107,8
@@
mapzen_error_e TangramView::create(maps_view_h view, maps_plugin_map_view_ready_
char* proxyAddress = NULL;
get_proxy_address(&proxyAddress);
urlOptions.proxyAddress = proxyAddress;
- g_free(proxyAddress);
+ if (proxyAddress)
+ free(proxyAddress);
auto platform = std::shared_ptr<Tangram::TizenPlatform>(new Tangram::TizenPlatform(urlOptions));
//auto platform = std::make_shared<Tangram::TizenPlatform>();