Bernhard R. Link wrote:

  if( r == RET_NOTHING ) {
   s = strdup(fallback);
   if( s == ((void *)0) )
    r = RET_ERROR_OOM;
  }
  if( r<  0 )
   return r; /*<- cppcheck reports: [test2.c:22]: (error) Memory leak: s */

Hi,

Thanks for reporting this. Confirmed and reported to upstream:
http://sourceforge.net/apps/trac/cppcheck/ticket/2442

--
Reijo



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to