Fix mem leak in rz_getPropertyNames.
Added NULL check before freeing properties in rz_getPropertyNames.
Merge pull request #31 from joe-goullaud/bugfix/memleak

Fix mem leak in rz_getPropertyNames.