Apply to use std::nothrow when allocating memory with new operator 27/138627/3
authorchanywa <cbible.kim@samsung.com>
Thu, 13 Jul 2017 04:56:03 +0000 (13:56 +0900)
committerchanywa <cbible.kim@samsung.com>
Mon, 17 Jul 2017 02:48:16 +0000 (11:48 +0900)
Change-Id: I6facebf77c7ff6cde9474df2ec699bb132df6996

lib/aarch64/libheremaps-engine.so.1
lib/aarch64/libheremaps-engine.so.1.0.6_32 [moved from lib/aarch64/libheremaps-engine.so.1.0.6_31 with 67% similarity]
lib/armv7l/libheremaps-engine.so.1
lib/armv7l/libheremaps-engine.so.1.0.6_32 [moved from lib/armv7l/libheremaps-engine.so.1.0.6_31 with 65% similarity]
lib/i586/libheremaps-engine.so.1
lib/i586/libheremaps-engine.so.1.0.6_32 [moved from lib/i586/libheremaps-engine.so.1.0.6_31 with 66% similarity]
lib/x86_64/libheremaps-engine.so.1
lib/x86_64/libheremaps-engine.so.1.0.6_32 [moved from lib/x86_64/libheremaps-engine.so.1.0.6_31 with 68% similarity]
src/here_api.cpp

index 33d96e9..5644257 120000 (symlink)
@@ -1 +1 @@
-libheremaps-engine.so.1.0.6_31
\ No newline at end of file
+libheremaps-engine.so.1.0.6_32
\ No newline at end of file
similarity index 67%
rename from lib/aarch64/libheremaps-engine.so.1.0.6_31
rename to lib/aarch64/libheremaps-engine.so.1.0.6_32
index 4c0fae0..c4a4de7 100755 (executable)
Binary files a/lib/aarch64/libheremaps-engine.so.1.0.6_31 and b/lib/aarch64/libheremaps-engine.so.1.0.6_32 differ
index 33d96e9..5644257 120000 (symlink)
@@ -1 +1 @@
-libheremaps-engine.so.1.0.6_31
\ No newline at end of file
+libheremaps-engine.so.1.0.6_32
\ No newline at end of file
similarity index 65%
rename from lib/armv7l/libheremaps-engine.so.1.0.6_31
rename to lib/armv7l/libheremaps-engine.so.1.0.6_32
index bfbf8e1..9765535 100755 (executable)
Binary files a/lib/armv7l/libheremaps-engine.so.1.0.6_31 and b/lib/armv7l/libheremaps-engine.so.1.0.6_32 differ
index 33d96e9..5644257 120000 (symlink)
@@ -1 +1 @@
-libheremaps-engine.so.1.0.6_31
\ No newline at end of file
+libheremaps-engine.so.1.0.6_32
\ No newline at end of file
similarity index 66%
rename from lib/i586/libheremaps-engine.so.1.0.6_31
rename to lib/i586/libheremaps-engine.so.1.0.6_32
index 638b455..55202c0 100755 (executable)
Binary files a/lib/i586/libheremaps-engine.so.1.0.6_31 and b/lib/i586/libheremaps-engine.so.1.0.6_32 differ
index 33d96e9..5644257 120000 (symlink)
@@ -1 +1 @@
-libheremaps-engine.so.1.0.6_31
\ No newline at end of file
+libheremaps-engine.so.1.0.6_32
\ No newline at end of file
similarity index 68%
rename from lib/x86_64/libheremaps-engine.so.1.0.6_31
rename to lib/x86_64/libheremaps-engine.so.1.0.6_32
index 9d5c4f4..264491c 100755 (executable)
Binary files a/lib/x86_64/libheremaps-engine.so.1.0.6_31 and b/lib/x86_64/libheremaps-engine.so.1.0.6_32 differ
index 7cca9fa..c0bfe26 100644 (file)
@@ -703,7 +703,7 @@ int HerePluginCancelRequest(int nReqId)
 int HerePluginCreateMapView(maps_view_h hView, maps_plugin_map_view_ready_cb pCbFunc)
 {
        HereView *vh = NULL, *ovh = NULL;
-       vh = new HereView();
+       vh = new (std::nothrow) HereView();
        if (!vh) return HERE_ERROR_OUT_OF_MEMORY;
        int error = maps_view_get_maps_plugin_view_handle(hView, (void**)&ovh);
        maps_view_set_maps_plugin_view_handle(hView, vh);