Not possible for value to be non-NULL when result is not success
Fixed leak of response dictionary in SDMMD_copy_lockdown_value. Function still returns retained value and error.
Merged functionality and fixed use of nonretained value
Fixed leak of pRecord message dict
Fixed leak of copied device value
Fixed leak of value sent to and copied from device
Fixed leak of err
Fixed leak of copied device values
Removed redundant value checks, domain and key are NULL-tested in SDMMD_copy_lockdown_value
Improved clarity
Improved clarity by replacing result numerical tests with error code test
Missing newline
Merge pull request #45 from JeremyAgost/leak-fixes

Leak fixes