summaryrefslogtreecommitdiff
path: root/table_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'table_windows.go')
-rw-r--r--table_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/table_windows.go b/table_windows.go
index e2aecf1..1be54a6 100644
--- a/table_windows.go
+++ b/table_windows.go
@@ -48,6 +48,7 @@ func finishNewTable(b *tablebase, ty reflect.Type) Table {
}
colname := toUTF16(ty.Field(i).Name)
C.SendMessageW(t.hwnd, C.tableAddColumn, coltype, C.LPARAM(uintptr(unsafe.Pointer(colname))))
+ // TODO free colname
}
t.colcount = C.int(ty.NumField())
return t