Code Review
/
apps
/
agl-service-homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
homescreen/hs-proxy: Guard against empty appids
[apps/agl-service-homescreen.git]
/
src
/
hs-proxy.cpp
diff --git
a/src/hs-proxy.cpp
b/src/hs-proxy.cpp
index
cdbf249
..
ea8976c
100644
(file)
--- a/
src/hs-proxy.cpp
+++ b/
src/hs-proxy.cpp
@@
-185,7
+185,7
@@
void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, con
* and client context there. We pass the closure_data with the client context
* and the application id to remove it.
*/
* and client context there. We pass the closure_data with the client context
* and the application id to remove it.
*/
- if (!instance)
+ if (!instance
|| id.empty()
)
return;
cdata = static_cast<struct closure_data *>(calloc(1, sizeof(*cdata)));
return;
cdata = static_cast<struct closure_data *>(calloc(1, sizeof(*cdata)));