Commit: cc648c10fea32171ee04a99051087ee26e4b5b22
Parent: 68d8b41ec2fe653cff82a51c9f95a25d81ae6d50
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:58
Tree: 81a3e41914e844064c3d6623db195ea55c6e35d1

obexd: Fix possible double free of params obc_transfer_get() and obc_transfer_put() should only assume ownership of the given params only in case of success. Otherwise some erros might result in a double free of such memory.

Diffstat

M obexd/client/transfer.c | 9 +++++- - - -

1 files changed, 5 insertions(+), 4 deletions(-)

View Full Diff | Patch