]> granicus.if.org Git - curl/commit
imap_perform_authentication: fix memory leak
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Oct 2014 21:01:45 +0000 (23:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Oct 2014 21:01:45 +0000 (23:01 +0200)
commita9beeeeeeac018157412e4510342554a48df54f4
tree2373d3ae08d8081021e829b75adc2c9a7a3c659b
parenta8ec986981d6a218ce3abac27b9e0b0e76286863
imap_perform_authentication: fix memory leak

Coverity CID 1215296. There's a potential risk for a memory leak in
here, and moving the free call to be unconditional seems like a cheap
price to remove the risk.
lib/imap.c