projects
/
platform
/
core
/
location
/
geofence-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c55fc
)
Fixed Svace issues
66/68266/1
accepted/tizen/common/20160504.125807
accepted/tizen/ivi/20160503.094433
accepted/tizen/mobile/20160503.094419
submit/tizen/20160503.072134
author
kj7.sung
<kj7.sung@samsung.com>
Tue, 3 May 2016 07:19:09 +0000
(16:19 +0900)
committer
kj7.sung
<kj7.sung@samsung.com>
Tue, 3 May 2016 07:19:09 +0000
(16:19 +0900)
Change-Id: I0b34b7d7cde872a84243b7599166d59851593f93
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
module/module_geofence_server.c
patch
|
blob
|
history
diff --git
a/module/module_geofence_server.c
b/module/module_geofence_server.c
index
fc1783f
..
0a1cc92
100644
(file)
--- a/
module/module_geofence_server.c
+++ b/
module/module_geofence_server.c
@@
-347,9
+347,11
@@
EXPORT_API int get_places(void *handle, int *place_amount, int **place_ids, plac
index++;
g_variant_iter_free(iter_row);
}
- g_variant_iter_free(iter);
- *params = (place_s *)p;
+ if (iter != NULL)
+ g_variant_iter_free(iter);
+
+ *params = (place_s *)p;
*place_ids = place_id_array;
return GEOFENCE_MANAGER_ERROR_NONE;