Comment on Tutorial - Using realloc() Function in C By Charles



Comment Added by : Ritchie

Comment Added at : 2012-05-09 14:14:49

Comment on Tutorial : Using realloc() Function in C By Charles
Shouldn't you call free() on the allocated memory block?
Yes, you should !!!
The example of this articles leads to a memory leak.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i want the database connectivity for telephone bil
View Tutorial          By: rohan at 2015-04-05 05:01:46

2. read and write methods given here are for a file w
View Tutorial          By: Tavva Yaswanth at 2012-10-28 08:02:10

3. Hi Binod,

Since JSP code is execute

View Tutorial          By: Aathi at 2009-05-28 21:20:10

4. Clear explanation and clear architecture diagram..
View Tutorial          By: safiya begam at 2011-05-09 06:28:51

5. I got intersting idea about gauge,thanks...
View Tutorial          By: Marimuthu at 2009-07-20 00:56:27

6. I came to know about the basic concepts here but I
View Tutorial          By: Amit Gorvadiya at 2015-09-23 06:18:37

7. i am getting a force close...can anyone please hel
View Tutorial          By: jack at 2012-03-22 15:18:37

8. i am getting force closed with this code...

View Tutorial          By: kamlapati at 2011-07-16 06:06:31

9. Thanks for the explanation.
It makes sense

View Tutorial          By: Miguel JImenez at 2009-05-10 14:28:46

10. Hi! Thanks for the examples posted here...it reall
View Tutorial          By: creece at 2009-01-23 17:28:33