[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Memory leaks ???



Hi,

I was looking at some PAM code, and I noticed a thing :

A lot of allocated structured aren' freed. Take the following example :

in pam_wheel.c :

function pam_sm_authenticate :

A struct passwd * pwd is allocated, and filled by the getpwnam function,
but it is never free'd.

My question : Why isn't it free'd, and if it is, who (what) does free
things.





		Thanks,

			Igmar



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []