Fix memory leak for send_cluster_text

For the plugin, the code freeing "target" would never be executed.