plugins/combat: Add code to free memory.