Fixing a memleak of simple Linux based multithread TCP server

I need someone to fix a memleak for me in a simple Linux based multithread TCP server. Anyone with good C/C++ knowledge should be able to fix it pretty quickly as the application does not have anything Linux special or dependant. The whole source code is just 310 lines of code!

The problem: The application is running 24/7 without a stop. With the time it runs the amounts of RAM it eats is growing, getting to a state where it eats all the RAM of the server.

Little info about the project:

This is a multithread TCP server listening for connections and spawning a new thread to handle each connection. When a client connects it sends a string with command to the TCP server. The server reads the command and do the appropriate action.

The memleak is probably somewhere related to the variables to which the threads read/write the necessary data

I will provide the project source code once I award the project to the selected bidding freelancer.

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, Mere

Good day,
Multi-threaded C/C++ tcp/udp servers is my strongest work. (please look at my reviews).
I can start right away and get this wrapped up quickly.
Just assign it and send me the source/makefile.
MarMere

Hello I am a Masters in embedded systems student and I have wide experience working with multi threaded applications. I have worked extensively with pthreads on Linux. I am also an advanced C programmer and I think i cMere

My offer includes:
- Detailed Bug Description.
- Well commented bug-fix.
- If you want, also some general refactoring of code (without changing coding style of course).
- If there are other bugs, i will alo fix theMere

Hi,
I have 8 years of experience in working with C/C++. I have written my own memory management library which you can find on github. Check my profile for more information.
I will complete this project within 24hMere

I have over seven years of experience in C and have done projects for PC and
embedded systems. I already made ​​software for Linux PC, firmware for Embedded Systems and device driver for Linux Embedded. I have also eMere

I'm based in Dallas, Texas. I work with C and Linux in my day job. This is my first bid on this site.
I should be able to debug your issue. Provide the environment you are using (linux distribution, compiler used, lMere

Dear Client,
Upon learning of your requirement for an application developer, I am submitting my résumé for your consideration. Thank you for considering my qualifications.
As you can see from my profile, I possesMere

Hi,
in order to fix your issue I will use valgrind. As server is running as daemon probably, some modifications required to use valgrind with it.
Also I will run cppcheck static analyzer to get information of posMere

I read through your job details carefully and I am sure i can execute the job very well.I am a professional java developer with 3+ years of industry experience working on Linux Kernel and Android.
I am sure I can compMere