Fixed memory leak in properties
Fixed memory leak in properties

Free memory and fail if realloc fails in propertiesImpl_addKey(). When we
replace a value in the hash table in propertiesImpl_addProperty(), free the old
value.

Signed-off-by: John Gray <160e368f6920b2a12076b14d9bbf683db7af0f1b@nyx.com>

MattMulhern/OpenMamaCassandra,jacobraj/MAMA,MattMulhern/OpenMAMA,kuangtu/OpenMAMA,MattMulhern/OpenMamaCassandra,dmagOM/OpenMAMA-dynamic,fquinner/OpenMAMA,MattMulhern/OpenMAMA,dmaguire/OpenMAMA,dmaguire/OpenMAMA,philippreston/OpenMAMA,dpauls/OpenMAMA,MattMulhern/OpenMAMA,vulcanft/openmama,vulcanft/openmama,dmaguire/OpenMAMA,MattMulhern/OpenMamaCassandra,philippreston/OpenMAMA,cloudsmith-io/openmama,cloudsmith-io/openmama,MattMulhern/OpenMamaCassandra,MattMulhern/OpenMAMA,kuangtu/OpenMAMA,cloudsmith-io/openmama,vulcanft/openmama,dpauls/OpenMAMA,dmaguire/OpenMAMA,dmagOM/OpenMAMA-dynamic,dpauls/OpenMAMA,fquinner/OpenMAMA,philippreston/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,vulcanft/openmama,kuangtu/OpenMAMA,cloudsmith-io/openmama,philippreston/OpenMAMA,fquinner/OpenMAMA,jacobraj/MAMA,dmaguire/OpenMAMA,philippreston/OpenMAMA,cloudsmith-io/openmama,philippreston/OpenMAMA,MattMulhern/OpenMAMA,dpauls/OpenMAMA,kuangtu/OpenMAMA,jacobraj/MAMA,kuangtu/OpenMAMA,MattMulhern/OpenMAMA,vulcanft/openmama,vulcanft/openmama,kuangtu/OpenMAMA,dmaguire/OpenMAMA,jacobraj/MAMA,fquinner/OpenMAMA,jacobraj/MAMA,dmagOM/OpenMAMA-dynamic,cloudsmith-io/openmama,dmaguire/OpenMAMA,cloudsmith-io/openmama,MattMulhern/OpenMamaCassandra,MattMulhern/OpenMamaCassandra,dmagOM/OpenMAMA-dynamic,dmagOM/OpenMAMA-dynamic,dpauls/OpenMAMA,philippreston/OpenMAMA,MattMulhern/OpenMAMA,dmagOM/OpenMAMA-dynamic,jacobraj/MAMA,vulcanft/openmama,dpauls/OpenMAMA,kuangtu/OpenMAMA,dpauls/OpenMAMA