Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix a memory leak
[src/app-framework-binder.git]
/
bindings
/
samples
/
HelloWorld.c
diff --git
a/bindings/samples/HelloWorld.c
b/bindings/samples/HelloWorld.c
index
c16bb92
..
c6fa779
100644
(file)
--- a/
bindings/samples/HelloWorld.c
+++ b/
bindings/samples/HelloWorld.c
@@
-280,6
+280,7
@@
static void eventpush (struct afb_req request)
else
afb_req_success(request, NULL, NULL);
pthread_mutex_unlock(&mutex);
+ json_object_put(object);
}
static void exitnow (struct afb_req request)