summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>1999-09-27 13:12:55 +0000
committerJean-François Micouleau <jfm@samba.org>1999-09-27 13:12:55 +0000
commited5fbd743be07a3c6e1a3879df283d0222ef0eb5 (patch)
tree17959ac98230e9d243f459b19a6961d6c8180b34 /source3/include/proto.h
parent0490365b04564750d73eea36af0ba1444d1d3d77 (diff)
downloadsamba-ed5fbd743be07a3c6e1a3879df283d0222ef0eb5.tar.gz
samba-ed5fbd743be07a3c6e1a3879df283d0222ef0eb5.tar.bz2
samba-ed5fbd743be07a3c6e1a3879df283d0222ef0eb5.zip
don't leak printer handles,
don't coredump when adding forms, and a small non obvious memory leak in the rpc buffers J.F. (This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8b18a0487b..f391f19879 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1636,7 +1636,7 @@ struct passgrp_ops *unix_initialise_password_grp(void);
int get_ntforms(nt_forms_struct **list);
int write_ntforms(nt_forms_struct **list, int number);
-void add_a_form(nt_forms_struct **list, FORM form, int count);
+void add_a_form(nt_forms_struct **list, FORM form, int *count);
void update_a_form(nt_forms_struct **list, FORM form, int count);
int get_ntdrivers(connection_struct *conn, fstring **list, char *architecture);
void get_short_archi(char *short_archi, char *long_archi);