OSDN Git Service

core: Fix freeing external profile record
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 3 Oct 2012 09:04:02 +0000 (12:04 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 3 Oct 2012 09:04:06 +0000 (12:04 +0300)
commit9a4318f6d23707a7411f4e3b80b05e3c55b3d428
tree6cddac57f206f268c204428c69e9903bdc9882ef
parentdd24ef7d2ac6c30f4b43d752970488e245521cf9
core: Fix freeing external profile record

The add_record_to_server function takes ownership of the service record
so it only needs to be freed if the function fails.
src/profile.c