comparison cli-authinteract.c @ 613:8cd04e707171

Fix memory leak found by Klocwork
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 12:34:44 +0000
parents a24139ba08c8
children c45d65392c1a
comparison
equal deleted inserted replaced
612:1aee049681bd 613:8cd04e707171
129 } 129 }
130 130
131 response_len = strlen(response); 131 response_len = strlen(response);
132 buf_putstring(ses.writepayload, response, response_len); 132 buf_putstring(ses.writepayload, response, response_len);
133 m_burn(response, response_len); 133 m_burn(response, response_len);
134 m_free(prompt);
134 m_free(response); 135 m_free(response);
135 } 136 }
136 137
137 encrypt_packet(); 138 encrypt_packet();
138 139