aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Logger_file.cxx
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
committerAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
commitd36b626bbb7b90306d3d93a5b82fd117fe8ec15f (patch)
treea535fbe60d92182b93c8a5f3a1f4e5d811c3a8a8 /common/rfb/Logger_file.cxx
parent97abe8a548ff9ca940d568128b21813b8a253872 (diff)
downloadtigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.tar.gz
tigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.zip
Revert previous commit (r3889). Windows code has to be cleaned before this
change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Logger_file.cxx')
-rw-r--r--common/rfb/Logger_file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/Logger_file.cxx b/common/rfb/Logger_file.cxx
index cf195c0d..8a109e4a 100644
--- a/common/rfb/Logger_file.cxx
+++ b/common/rfb/Logger_file.cxx
@@ -97,7 +97,7 @@ void Logger_File::write(int level, const char *logname, const char *message)
void Logger_File::setFilename(const char* filename)
{
closeFile();
- m_filename = safe_strdup(filename);
+ m_filename = strDup(filename);
}
void Logger_File::setFile(FILE* file)
@@ -113,7 +113,7 @@ void Logger_File::closeFile()
fclose(m_file);
m_file = 0;
}
- free(m_filename);
+ strFree(m_filename);
m_filename = 0;
}
}