GetDlgItemText_alloc is often used to get passwords from text fields, so the memory should be freed and erased properly. Otherwise parts of passwords might leak in memory. Signed-off-by: Sven Strickroth <email@cs-ware.de>