To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1179
    Re: memory leak in string handling —Kekoa Proudfoot
   Jamie Obrien <jamien@interworx.com.au> wrote: You can't do this: (...) You probably meant char *d2 = dest; like the original author wrote. Here also: (...) You probably meant return dest; like the original author wrote. -Kekoa (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
   
        Re: memory leak in string handling —Torkel Niklasson
   Thank you everyone who helped out. The strcat function works like a charm. Unfortunately, the memory leak is still there. I'm beginning to think it might be that the strings are never deallocated at all. I'm going to have to check so that the (...) (24 years ago, 26-Jun-00, to lugnet.robotics.rcx.legos)
   
        Re: memory leak in string handling —Torkel Niklasson
   And the problem is solved. Perhaps my pains can be used for something good anyway. Perhaps the people who suggested their beautiful strcat-functions can have (at least the prettiest one) them included in a future release. And if you're wondering how (...) (24 years ago, 26-Jun-00, to lugnet.robotics.rcx.legos)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR