Fix incorrect free() usage
authorSimo Sorce <simo@redhat.com>
Sun, 30 Aug 2015 18:28:32 +0000 (14:28 -0400)
committerSimo Sorce <simo@redhat.com>
Sun, 30 Aug 2015 18:28:32 +0000 (14:28 -0400)
commit3e4f466d5224af50c6789894cca459aa4504ef47
tree4ccd53f35fb614e4b1369631a1554a33f888cd9e
parentf206c24dfcf9bbc70d8551aaf6794d50d67feaa0
Fix incorrect free() usage

This code has been changed to use apr pools for memory allocation, so the
error path is wrong as free() is not called on malloc()ed memory anymore.
Remove the calls to free(), the mempool is clean up by callers.

Signed-off-by: Simo Sorce <simo@redhat.com>
src/crypto.c