Parent: 9ee36f218317a0a51332d60606d3703b5b7e7faa
Author: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:34
Tree: 506fac3c836afb0d3418449bfd35611415778abf
obexd: Move freeing contacts data to phonebook_req_finalize Previously data used for generating vcards was freed only in gen_vcards body. This may result a memory leak, if fetching data from tracker was cancelled in the middle of process and gen_vcards wasn't called. Phonebook_req_finalize is better place for this kind of cleanup.
Diffstat
| M | obexd/plugins/phonebook-tracker.c | | | 14 | ++++++++++- - - - |
1 files changed, 10 insertions(+), 4 deletions(-)