summaryrefslogtreecommitdiff
path: root/source4/gtk/common/gtk-smb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-21 21:57:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:23 -0500
commit27129573ff5b87ac8b107d267cde87b516d9e6b9 (patch)
treedb84db6b5e2c7aa986af63b31985d7c5b56c082d /source4/gtk/common/gtk-smb.c
parent77b691e670b6372f74451f1cf87ccf8a6d7804e2 (diff)
downloadsamba-27129573ff5b87ac8b107d267cde87b516d9e6b9.tar.gz
samba-27129573ff5b87ac8b107d267cde87b516d9e6b9.tar.bz2
samba-27129573ff5b87ac8b107d267cde87b516d9e6b9.zip
r3125: Store object UUID directly instead of using a pointer (struct dcerpc_binding)
Let test fail if messaging_init() fails instead of generating segfault in the LOCAL-MESSAGING test (This used to be commit 0609f410ef756501d50c04b544387ae547fcd63c)
Diffstat (limited to 'source4/gtk/common/gtk-smb.c')
-rw-r--r--source4/gtk/common/gtk-smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c
index 70c05350e8..e5121a21ce 100644
--- a/source4/gtk/common/gtk-smb.c
+++ b/source4/gtk/common/gtk-smb.c
@@ -307,7 +307,7 @@ struct dcerpc_binding *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d
{
struct dcerpc_binding *binding = talloc_p(mem_ctx, struct dcerpc_binding);
- binding->object = NULL;
+ ZERO_STRUCT(binding->object);
/* Format: TRANSPORT:host[\pipe\foo,foo,foo] */