[valgrind] [Bug 372478] utils/vk_utils.cpp:145]: (error) Memory leak: tmpname

2016-11-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372478

--- Comment #2 from dcb...@hotmail.com ---
(In reply to Philippe Waroquiers from comment #1)
> Are you sure this is for valgrind ?
> I cannot find this vk_utils.cpp in the valgrind sources.

It's part of valkyrie. Is this not the right place for valkyrie bug reports ?

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

[valgrind] [Bug 372478] utils/vk_utils.cpp:145]: (error) Memory leak: tmpname

2016-11-17 Thread Philippe Waroquiers
https://bugs.kde.org/show_bug.cgi?id=372478

Philippe Waroquiers  changed:

   What|Removed |Added

 CC||philippe.waroquiers@skynet.
   ||be

--- Comment #1 from Philippe Waroquiers  ---
(In reply to dcb314 from comment #0)
> Source code is
> 
>   char* tmpname = vk_str_malloc( unique.length() + 10 );
>   sprintf( tmpname, "%s.XX", 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;
>   }

Are you sure this is for valgrind ?
I cannot find this vk_utils.cpp in the valgrind sources.

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