aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-05-10 21:07:30 +0000
committercorvid <corvid@lavabit.com>2011-05-10 21:07:30 +0000
commit9a5cfc077d9f70be42d3202f1ff5f9eec0d76f16 (patch)
treef1013b01f79a8bf2a696261f519a833dd7bb6010 /dw/layout.cc
parent6f807dd550576b3f6622658d6c6c55e5b0a59bc7 (diff)
straighten out free/delete/delete[]
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index d2097859..d3983559 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -174,7 +174,7 @@ bool Layout::LinkEmitter::emitClick (Widget *widget, int link, int img,
Layout::Anchor::~Anchor ()
{
- delete name;
+ free(name);
}
// ---------------------------------------------------------------------