Fix double free in bridging curl client 17/25317/2
authorMats Wichmann <mats@linux.com>
Sat, 19 May 2018 14:25:47 +0000 (08:25 -0600)
committerMats Wichmann <mats@linux.com>
Thu, 7 Jun 2018 12:41:02 +0000 (12:41 +0000)
commit666f40d664daf222c750d04436f6404e4d2296b3
tree024cba65f63b480a0a31a0e959b0ea1c1f16c072
parent4d37ab71c0259c1cc14b4841cf5b0d5994de731b
Fix double free in bridging curl client

A recent change added a destructor for _MemoryChunk, to
fix a problem where something was not being freed.
However, this left another location freeing memory
twice - once explicitly, once when the destructor runs.

Change-Id: Ie10829334238a359e38c55df789d3e69425f67b3
Signed-off-by: Mats Wichmann <mats@linux.com>
bridging/common/curlClient.cpp