projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb856ad
)
libubus: free internal blob_buf memory when freeing an ubus context
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 30 Dec 2012 13:12:10 +0000
(14:12 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 30 Dec 2012 13:14:22 +0000
(14:14 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus.c
patch
|
blob
|
history
diff --git
a/libubus.c
b/libubus.c
index a1dd51ff0451db9a99633ad365f2f808f28edbaa..67363ad57f42b1acc386c710cdd3541e564b02ff 100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-292,6
+292,7
@@
struct ubus_context *ubus_connect(const char *path)
void ubus_free(struct ubus_context *ctx)
{
+ blob_buf_free(&b);
close(ctx->sock.fd);
free(ctx);
}