prs_create

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Aug 18 05:20:36 GMT 2000


answer: yes, whoever it was, you _did_ change prs_create(), and you have
introduced a memory leak.

the semantics of prs_create() are that the control of the memory passed in
is handed to the prs_struct (i.e. responsibility for freeing it).

whoever you are, you changed this to use a memcpy, thereby ensuring that
the memory passed in to prs_create() is lost.





More information about the samba-technical mailing list