https://bugs.kde.org/show_bug.cgi?id=372478

            Bug ID: 372478
           Summary: utils/vk_utils.cpp:145]: (error) Memory leak: tmpname
           Product: valgrind
           Version: 3.12 SVN
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: dcb...@hotmail.com
  Target Milestone: ---

Source code is

      char* tmpname = vk_str_malloc( unique.length() + 10 );
      sprintf( tmpname, "%s.XXXXXX", qPrintable( unique ) );
      int fd = mkstemp( tmpname );

      if ( fd == -1 ) {
         /* something went wrong */
         VK_DEBUG( "failed to create unique filename from '%s'.",
                   qPrintable( filepath ) );
         return QString::null;
      }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to