backend-rdp: fix memory leak

Free command data after all rects have been updated. This fixes a
rather huge memory leak when using the RDP backend.

Signed-off-by: Stefan Agner <stefan@agner.ch>
2 jobs for fix-rdp-memory-leak in 1 minute and 31 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Container Prep
passed #371262
container_prep

00:00:26

 
  Build
passed #371263
build-native-meson

00:01:05