Avoid double-free of body header
authorHendrik Sattler <post@hendrik-sattler.de>
Wed, 1 Aug 2012 03:47:24 +0000 (05:47 +0200)
committerHendrik Sattler <post@hendrik-sattler.de>
Wed, 1 Aug 2012 03:47:29 +0000 (05:47 +0200)
commit3724acd5d754554ed290a02916170eb749a38796
treea7273a11daeed5d701004e71dd8a19b0fd12c2a2
parentf36750f315f5688d9ad4315b2bb53a3105f9f494
Avoid double-free of body header

The body struct obex_hdr might still be present in the rx or tx header queues
at object deletion time. Avoid calling free() two times on that memory.
lib/obex_object.c