From ad7bc59d55f3ce31f542d3467ae2010eadad2624 Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Thu, 27 May 2004 16:27:52 +0000
Subject: [PATCH] fix CleanButtons crash

---
 src/ui/botpanel.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ui/botpanel.cpp b/src/ui/botpanel.cpp
index 2f4de3b7e..325068644 100644
--- a/src/ui/botpanel.cpp
+++ b/src/ui/botpanel.cpp
@@ -210,6 +210,7 @@ global void CleanButtons(void)
 	CurrentButtonLevel = 0;
 	CurrentButtons = NULL;
 	free(_current_buttons);
+	_current_buttons = NULL;
 }
 
 /**