git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041eb5c
)
messaging4: Fix an error path memleak
author
Volker Lendecke
<vl@samba.org>
Sun, 14 Sep 2014 12:33:53 +0000
(14:33 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 18 Sep 2014 18:36:11 +0000
(20:36 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source4/lib/messaging/messaging.c
patch
|
blob
|
history
diff --git
a/source4/lib/messaging/messaging.c
b/source4/lib/messaging/messaging.c
index a67a58a6e06fc96cae2bef1331f52f8ed6e64a29..53c8a9aaf2046a7dae3bd704099dd868b79d2512 100644
(file)
--- a/
source4/lib/messaging/messaging.c
+++ b/
source4/lib/messaging/messaging.c
@@
-1041,6
+1041,7
@@
struct irpc_name_records *irpc_all_servers(struct imessaging_context *msg_ctx,
ret = tdb_traverse_read(t->tdb, all_servers_func, name_records);
if (ret == -1) {
+ TALLOC_FREE(name_records);
return NULL;
}