1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r327: fixed an uninitialised variable found by valgrind

This commit is contained in:
Andrew Tridgell 2004-04-22 07:45:00 +00:00 committed by Gerald (Jerry) Carter
parent d06ed158f9
commit 10844cf925

View File

@ -351,6 +351,7 @@ void ndr_print_function_debug(void (*fn)(struct ndr_print *, const char *, int ,
if (!ndr.mem_ctx) return;
ndr.print = ndr_print_debug_helper;
ndr.depth = 1;
ndr.flags = 0;
fn(&ndr, name, flags, ptr);
talloc_destroy(ndr.mem_ctx);
}