aboutsummaryrefslogtreecommitdiffstats
path: root/src/binder_reply.cpp
diff options
context:
space:
mode:
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);
}
}