aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/unit1395.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-07-16 14:17:33 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-07-16 14:22:45 -0400
commit60b19630b032d99270282e021216605718acc14d (patch)
treef26ed6457467669696532cee96d8f9c7d8b3e731 /tests/unit/unit1395.c
parentde74e856e63b0c6fd1e36d96d6310672abf12c29 (diff)
ntlm_wb: Fix theoretical memory leak
Static analysis indicated that my commit 9008f3d564 ("ntlm_wb: Fix hard-coded limit on NTLM auth packet size") introduced a potential memory leak on an error path, because we forget to free the buffer before returning an error. Fix this. Although actually, it never happens in practice because we never *get* here with state == NTLMSTATE_TYPE1. The state is always zero. That might want cleaning up in a separate patch. Reported-by: Terri Oda
Diffstat (limited to 'tests/unit/unit1395.c')
0 files changed, 0 insertions, 0 deletions