[Live-devel] our_MD5Data mismatched free

PROMONET Michel michel.promonet at thalesgroup.com
Mon Jan 13 09:03:11 PST 2014


            Hi Ross,

valgrind report mismatch between allocation and free :

-       Authenticator::computeDigestResponse  call our_MD5Data that allocate using new char[]

-       Authentificator::reclaimDisgestResponse call free on the buffer


Don't you think it could be better to replace the "free" with "delete []" ?



Best Regards,

            Michel.

[@@ THALES GROUP INTERNAL @@]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140113/b256ae5a/attachment-0001.html>


More information about the live-devel mailing list