common: Fix memory leak.
authorJustus Winter <justus@g10code.com>
Thu, 30 Jun 2016 15:29:19 +0000 (17:29 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 30 Jun 2016 16:50:16 +0000 (18:50 +0200)
commitd2d19063d3adf29340aeb39f14e1b1e9aacf41e7
tree5c542c2df825f195b6de6521f10933742a764eb2
parent9037c23979866e6e085b3e32f973bcba590a2635
common: Fix memory leak.

* common/iobuf.c (iobuf_set_partial_body_length_mode): Only create
context if necessary.

Signed-off-by: Justus Winter <justus@g10code.com>
common/iobuf.c