A simple memory leakage detection tool