diff --git a/src/client.cpp b/src/client.cpp
index 56505c66c07875ca525ee5ed03cb254d244bedcd..329496db7519a92f78407834221d2a07742de4a8 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2555,6 +2555,9 @@ void Client::inventoryAction(InventoryAction *a)
 		Predict some local inventory changes
 	*/
 	a->clientApply(this, this);
+
+	// Remove it
+	delete a;
 }
 
 ClientActiveObject * Client::getSelectedActiveObject(