warnings on compile

Robert Dahlem Robert.Dahlem at gmx.net
Mon Dec 18 08:54:02 GMT 2000


On Sun, 17 Dec 2000 04:22:51 +0900 (LMT), okuyamak at dd.iij4u.or.jp 
wrote:

>Sorry to say, I don't have mktemp() of my own. But I do have
>mkstemp() that will give filename&file being opened and that will
>meet requirement of samba.

>Here comes the code:

[...]

>    filename	= malloc( templatelen );

Doesn't this produce a memory leak?

Regards,
        Robert


-- 
---------------------------------------------------------------
Robert.Dahlem at gmx.net           Fax +49-69-432647
---------------------------------------------------------------

Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email
software; far better than Outlook. Try it sometime.






More information about the samba-technical mailing list