Listed code is right (without loops). You are leaking memory somewhere else. Check with valgrind.
BR, Nikos ----- Original Message ----- From: Esteban Cacavelos To: Donald Jackson Cc: devel Devel Sent: Tuesday, February 23, 2010 3:39 PM Subject: Re: Free memory from list Thanks, but, I actually want to delete items from the list dinamically. I want to delete one item from list and free that item correctly, not delete all items at the same time. -- Esteban L. Cacavelos de Amoriza Cel: 0981 220 429
