projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a13d9
)
Fixed issue 2403
author
Roy Reapor
<roynos@gmail.com>
Thu, 4 Oct 2012 05:44:29 +0000
(22:44 -0700)
committer
Roy Reapor
<roynos@gmail.com>
Thu, 4 Oct 2012 05:44:29 +0000
(22:44 -0700)
Created temporary files are now deleted in Win32.
modules/core/src/system.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/system.cpp
b/modules/core/src/system.cpp
index
f85f78a
..
0b56d8a
100644
(file)
--- a/
modules/core/src/system.cpp
+++ b/
modules/core/src/system.cpp
@@
-487,6
+487,8
@@
string tempfile( const char* suffix )
if(0 == ::GetTempFileNameA(temp_dir, "ocv", 0, temp_file))
return string();
+ DeleteFileA(temp_file);
+
string name = temp_file;
if(suffix)
{