Diff between cf1c33d6f2e800782eb55ea20e69dad3ae97b993 and 2e7fca9167c1d64257327f47403fd89f45870af6
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/phonebook-tracker.c | +3 | -0 | modified |
Full Patch
diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index c10491d..d0cea2e 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -1007,6 +1007,9 @@ add_numbers:
add_address(contact, home_addr, ADDR_TYPE_HOME);
add_address(contact, work_addr, ADDR_TYPE_WORK);
+ g_free(home_addr);
+ g_free(work_addr);
+
DBG("contact %p", contact);
/* Adding contacts data to wrapper struct - this data will be used to