summaryrefslogtreecommitdiffstats
path: root/unix/tx/TXWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tx/TXWindow.cxx')
-rw-r--r--unix/tx/TXWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tx/TXWindow.cxx b/unix/tx/TXWindow.cxx
index 2b535df8..1b695e5b 100644
--- a/unix/tx/TXWindow.cxx
+++ b/unix/tx/TXWindow.cxx
@@ -93,7 +93,7 @@ void TXWindow::init(Display* dpy, const char* defaultWindowClass_)
static char tickBits[] = { 0x80, 0xc0, 0xe2, 0x76, 0x3e, 0x1c, 0x08, 0x00};
tick = XCreateBitmapFromData(dpy, DefaultRootWindow(dpy), tickBits,
tickSize, tickSize);
- defaultWindowClass = rfb::strDup(defaultWindowClass_);
+ defaultWindowClass = safe_strdup(defaultWindowClass_);
}
void TXWindow::handleXEvents(Display* dpy)