Updated some variable names and explicitly free memory pointers in the owned? method.
Updated variable names and explicitly free memory in the chown method.
Renamed some variables and explicitly free some memory in the owner method.