Jiasheng Jiang (HE12025-08-05): > Moreover, replace with proper error handling to avoid potential memory leak. There is no potential memory leak with exit(). And it does not have to be a lesson in good C practices. Regards, -- Nicolas George