RedToor/libspopc

Memory leak on pop_quit when not freeing the result

RoyalPictou opened this issue · 1 comments

char *result = pop3_quit( m_Sock );
free( result );

solved the issue, please check that. Now everything is cleaned up well

char *result = pop3_quit( m_Sock );
if(result)
{
free( result );
}