klukonin / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 0 forks source link

Memory leaks in webif #167

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check memory of system using 'free ' command.
2. Do Wget of all pages in loop for overnight stress.
3. Check memory of system using 'free' command again next day.

What is the expected output? What do you see instead?

Check the memory difference.

What version of the product are you using? On what operating system and web
browser?
trunk latest.

Please provide any additional info below.

Original issue reported on code.google.com by sahilmakkar1983@gmail.com on 8 Apr 2010 at 6:24

GoogleCodeExporter commented 8 years ago
clue : 
webif-page.c has 2 malloc() one in translate_line() and other in add_line()
but no free().

Original comment by sahilmakkar1983@gmail.com on 8 Apr 2010 at 6:39