1
Like,
1. not assigning null to a pointer after freeing it
2. not allocating enough memory for string processing
Please throw in your tips and tricks to avoid memory leaks and memory related problems.
1) Server - Apache, Nginx, Lighttpd 2) Language - PHP, Python, Nodejs, Clojure 3) Database - MySQL, SQLite, PostgreSQL, CouchDB, MongoDB, Redis, Riak