Subject:
|
Re: memory leak in string handling
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 20 Jun 2000 15:26:28 GMT
|
Viewed:
|
1352 times
|
| |
| |
Jamie Obrien <jamien@interworx.com.au> wrote:
You can't do this:
> char *d2 = *dest;
You probably meant char *d2 = dest; like the original author wrote.
Here also:
> return *dest;
You probably meant return dest; like the original author wrote.
-Kekoa
|
|
Message has 1 Reply: | | Re: memory leak in string handling
|
| 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)
|
Message is in Reply To:
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|