summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 20:17:26 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 20:17:26 +0000
commit8b64ccc1d4bf6c45612fd974703abc238f783b86 (patch)
tree7f57f86008ddbc7708a417901429efb79ba41f12 /tests
parent13f79c8ea41494d0d8d090a687bd1744e9f5a610 (diff)
downloadATCD-8b64ccc1d4bf6c45612fd974703abc238f783b86.tar.gz
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/Naming_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Naming_Test.cpp b/tests/Naming_Test.cpp
index 4d33f2f80aa..42a3199682f 100644
--- a/tests/Naming_Test.cpp
+++ b/tests/Naming_Test.cpp
@@ -168,13 +168,13 @@ main (int argc, char *argv[])
find (*ns_context, 1, -1);
find (*ns_context, -1, -1);
- delete ns_context;
-
ACE_OS::sprintf (temp_file, __TEXT ("%s%s%s"),
name_options->namespace_dir (),
ACE_DIRECTORY_SEPARATOR_STR,
name_options->database ());
+ delete ns_context;
+
// Remove any existing files. No need to check return value here
// since we don't care if the file doesn't exist.
ACE_OS::unlink (temp_file);