aboutsummaryrefslogtreecommitdiffstats
path: root/src/binder_reply.cpp
diff options
context:
space:
mode:
authorAkio Fukubayashi <fukubayashi.akio@genetec.co.jp>2019-09-04 18:15:00 +0900
committerAkio Fukubayashi <fukubayashi.akio@genetec.co.jp>2019-09-04 18:15:00 +0900
commit5bac1a6577423c09fb28b8e13937294fef576cf5 (patch)
tree9eb8f774129f8004953178d364b53c55a036ab5e /src/binder_reply.cpp
parentedb90da2281c014f9b623f46533aa9d48cce2b90 (diff)
Signed-off-by: Akio Fukubayashi <fukubayashi.akio@genetec.co.jp>
Diffstat (limited to 'src/binder_reply.cpp')
-rw-r--r--src/binder_reply.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/binder_reply.cpp b/src/binder_reply.cpp
index 172a22a..6d28bbb 100644
--- a/src/binder_reply.cpp
+++ b/src/binder_reply.cpp
@@ -74,7 +74,6 @@ APIResponse BinderReply::ReplyNavicoreGetPosition( std::map<int32_t, double>& po
default:
fprintf(stderr, "Unknown key.");
- json_object_put(obj);
break;
}
}
@@ -157,7 +156,6 @@ APIResponse BinderReply::ReplyNavicoreGetAllSessions( std::map<uint32_t, std::st
else
{
fprintf(stderr, "invalid key.");
- json_object_put(obj);
}
}