[PATCH] Re: What not to be doing - syscall()

Oswald Buddenhagen ossi at kde.org
Wed Dec 24 18:47:55 GMT 2003


On Wed, Dec 24, 2003 at 06:59:35PM +0100, Frans Englich wrote:
> Ok, second try. This time no dangling pointer,
>
... but a memory leak. ;)

{
  KUser ku;
  pty->login( ku.loginName().latin1(), getenv("DISPLAY"));
}

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list