Restarting hot_standby replication when the *slave* fails
You must be using a replication slot.  It is causing the master to retain the log files, because it still thinks the replica will be needing them.  (That is the purpose of a replication slot).  Find the slot and delete it.  Then create a new one for the new replica you will need to seed.