aboutsummaryrefslogtreecommitdiff
path: root/ui/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/commands.go')
-rw-r--r--ui/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commands.go b/ui/commands.go
index ab02735..0b15d8e 100644
--- a/ui/commands.go
+++ b/ui/commands.go
@@ -76,8 +76,8 @@ var rainbow = GradientTable{
}
func cmdHeapProfile(cmd *Command) {
- dbg.FreeOSMemory()
runtime.GC()
+ dbg.FreeOSMemory()
memProfile, err := os.Create("gomuks.heap.prof")
if err != nil {
debug.Print("Failed to open gomuks.heap.prof:", err)